Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mule.umo.provider
Interface UMOMessageAdapter  view UMOMessageAdapter download UMOMessageAdapter.java


public interface UMOMessageAdapter

UMOMessageAdapter provides a common abstraction of different message implementations provided by different underlying technologies

Version:
$Revision: 1.2 $

Method Summary
 java.lang.Object getMessage()
           
 byte[] getMessageAsBytes()
          Converts the message implementation into a String representation
 java.lang.String getMessageAsString()
          Converts the message implementation into a String representation
 java.lang.Object getProperty(java.lang.Object key)
          Gets a property of the message implementation
 java.util.Iterator getPropertyNames()
           
 void setMessage(java.lang.Object message)
           
 void setProperty(java.lang.Object key, java.lang.Object value)
          Gets a property of the message implementation
 

Method Detail

getProperty

public java.lang.Object getProperty(java.lang.Object key)
Gets a property of the message implementation


setProperty

public void setProperty(java.lang.Object key,
                        java.lang.Object value)
Gets a property of the message implementation


getMessageAsString

public java.lang.String getMessageAsString()
                                    throws java.lang.Exception
Converts the message implementation into a String representation


getPropertyNames

public java.util.Iterator getPropertyNames()

getMessageAsBytes

public byte[] getMessageAsBytes()
                         throws java.lang.Exception
Converts the message implementation into a String representation


getMessage

public java.lang.Object getMessage()

setMessage

public void setMessage(java.lang.Object message)
                throws org.mule.MuleException