Java Doc for DefaultMuleMessage.java in  » ESB » mule » org » mule » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ESB » mule » org.mule 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.mule.DefaultMuleMessage

DefaultMuleMessage
public class DefaultMuleMessage implements MuleMessage,ThreadSafeAccess(Code)
DefaultMuleMessage is a wrapper that contains a payload and properties associated with the payload.



Constructor Summary
public  DefaultMuleMessage(Object message)
    
public  DefaultMuleMessage(Object message, Map properties)
    
public  DefaultMuleMessage(Object message, MessageAdapter previous)
    

Method Summary
public  voidaddAttachment(String name, DataHandler dataHandler)
    
public  voidaddProperties(Map properties)
    
protected  voidapplyAllTransformers(List transformers)
    
public  voidapplyTransformers(List transformers)
    
public  voidapplyTransformers(List transformers, Class outputType)
    
public  voidassertAccess(boolean write)
    
public  voidclearProperties()
    
public  MessageAdaptergetAdapter()
    
public  DataHandlergetAttachment(String name)
    
public  SetgetAttachmentNames()
    
public  booleangetBooleanProperty(String name, boolean defaultValue)
    
public  intgetCorrelationGroupSize()
    
public  StringgetCorrelationId()
    
public  intgetCorrelationSequence()
    
public  doublegetDoubleProperty(String name, double defaultValue)
    
public  StringgetEncoding()
    
public  ExceptionPayloadgetExceptionPayload()
    
public  intgetIntProperty(String name, int defaultValue)
    
public  longgetLongProperty(String name, long defaultValue)
    
public  ObjectgetOrginalPayload()
    
public  MessageAdaptergetOriginalAdapter()
    
public  ObjectgetPayload(Class outputType)
    
protected  ObjectgetPayload(Class outputType, String encoding)
     Will attempt to obtain the payload of this message with the desired Class type.
public  ObjectgetPayload()
    
public  byte[]getPayloadAsBytes()
    
final public  StringgetPayloadAsString()
    
public  StringgetPayloadAsString(String encoding)
    
public  ObjectgetProperty(String key)
    
public  ObjectgetProperty(String name, Object defaultValue)
    
public  SetgetPropertyNames()
    
public  ObjectgetReplyTo()
    
public  StringgetStringProperty(String name, String defaultValue)
    
public  StringgetUniqueId()
    
protected  booleanisPayloadConsumed(Class inputCls)
     Checks if the payload has been consumed for this message.
public  ThreadSafeAccessnewThreadCopy()
    
public  voidrelease()
    
public  voidremoveAttachment(String name)
    
public  ObjectremoveProperty(String key)
    
public  voidresetAccessControl()
    
public  voidsetBooleanProperty(String name, boolean value)
    
public  voidsetCorrelationGroupSize(int size)
    
public  voidsetCorrelationId(String id)
    
public  voidsetCorrelationSequence(int sequence)
    
public  voidsetDoubleProperty(String name, double value)
    
public  voidsetEncoding(String encoding)
    
public  voidsetExceptionPayload(ExceptionPayload exceptionPayload)
    
public  voidsetIntProperty(String name, int value)
    
public  voidsetLongProperty(String name, long value)
    
public synchronized  voidsetPayload(Object payload)
    
public  voidsetProperty(String key, Object value, PropertyScope scope)
    
public  voidsetProperty(String key, Object value)
    
public  voidsetReplyTo(Object replyTo)
    
public  voidsetStringProperty(String name, String value)
    
public  StringtoString()
    


Constructor Detail
DefaultMuleMessage
public DefaultMuleMessage(Object message)(Code)



DefaultMuleMessage
public DefaultMuleMessage(Object message, Map properties)(Code)



DefaultMuleMessage
public DefaultMuleMessage(Object message, MessageAdapter previous)(Code)




Method Detail
addAttachment
public void addAttachment(String name, DataHandler dataHandler) throws Exception(Code)



addProperties
public void addProperties(Map properties)(Code)



applyAllTransformers
protected void applyAllTransformers(List transformers) throws TransformerException(Code)



applyTransformers
public void applyTransformers(List transformers) throws TransformerException(Code)



applyTransformers
public void applyTransformers(List transformers, Class outputType) throws TransformerException(Code)



assertAccess
public void assertAccess(boolean write)(Code)



clearProperties
public void clearProperties()(Code)



getAdapter
public MessageAdapter getAdapter()(Code)



getAttachment
public DataHandler getAttachment(String name)(Code)



getAttachmentNames
public Set getAttachmentNames()(Code)



getBooleanProperty
public boolean getBooleanProperty(String name, boolean defaultValue)(Code)



getCorrelationGroupSize
public int getCorrelationGroupSize()(Code)



getCorrelationId
public String getCorrelationId()(Code)



getCorrelationSequence
public int getCorrelationSequence()(Code)



getDoubleProperty
public double getDoubleProperty(String name, double defaultValue)(Code)



getEncoding
public String getEncoding()(Code)



getExceptionPayload
public ExceptionPayload getExceptionPayload()(Code)



getIntProperty
public int getIntProperty(String name, int defaultValue)(Code)



getLongProperty
public long getLongProperty(String name, long defaultValue)(Code)



getOrginalPayload
public Object getOrginalPayload()(Code)



getOriginalAdapter
public MessageAdapter getOriginalAdapter()(Code)



getPayload
public Object getPayload(Class outputType) throws TransformerException(Code)



getPayload
protected Object getPayload(Class outputType, String encoding) throws TransformerException(Code)
Will attempt to obtain the payload of this message with the desired Class type. This will try and resolve a trnsformr that can do this transformation. If a transformer cannot be found an exception is thrown. Any transfromers added to the reqgistry will be checked for compatability
Parameters:
  outputType - the desired return type
Parameters:
  encoding - the encoding to use if required The converted payload of this message. Note that this method will not alter the payload of thismessage *unless* the payload is an inputstream in which case the stream will be read and the payload will becomethe fully read stream.
throws:
  TransformerException - if a transformer cannot be found or there is an error during transformation of thepayload



getPayload
public Object getPayload()(Code)



getPayloadAsBytes
public byte[] getPayloadAsBytes() throws Exception(Code)



getPayloadAsString
final public String getPayloadAsString() throws Exception(Code)



getPayloadAsString
public String getPayloadAsString(String encoding) throws Exception(Code)



getProperty
public Object getProperty(String key)(Code)



getProperty
public Object getProperty(String name, Object defaultValue)(Code)



getPropertyNames
public Set getPropertyNames()(Code)



getReplyTo
public Object getReplyTo()(Code)



getStringProperty
public String getStringProperty(String name, String defaultValue)(Code)



getUniqueId
public String getUniqueId()(Code)



isPayloadConsumed
protected boolean isPayloadConsumed(Class inputCls)(Code)
Checks if the payload has been consumed for this message. This only applies to Streaming payload types since once the stream has been read, the payload of the message should be updated to represent the data read from the stream
Parameters:
  inputCls - the input type of the message payload true if the payload message type was stream-based, false otherwise



newThreadCopy
public ThreadSafeAccess newThreadCopy()(Code)



release
public void release()(Code)



removeAttachment
public void removeAttachment(String name) throws Exception(Code)



removeProperty
public Object removeProperty(String key)(Code)



resetAccessControl
public void resetAccessControl()(Code)



setBooleanProperty
public void setBooleanProperty(String name, boolean value)(Code)



setCorrelationGroupSize
public void setCorrelationGroupSize(int size)(Code)



setCorrelationId
public void setCorrelationId(String id)(Code)



setCorrelationSequence
public void setCorrelationSequence(int sequence)(Code)



setDoubleProperty
public void setDoubleProperty(String name, double value)(Code)



setEncoding
public void setEncoding(String encoding)(Code)



setExceptionPayload
public void setExceptionPayload(ExceptionPayload exceptionPayload)(Code)



setIntProperty
public void setIntProperty(String name, int value)(Code)



setLongProperty
public void setLongProperty(String name, long value)(Code)



setPayload
public synchronized void setPayload(Object payload)(Code)



setProperty
public void setProperty(String key, Object value, PropertyScope scope)(Code)



setProperty
public void setProperty(String key, Object value)(Code)



setReplyTo
public void setReplyTo(Object replyTo)(Code)



setStringProperty
public void setStringProperty(String name, String value)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.