| org.apache.servicemix.jbi.messaging.PojoMarshaler
All known Subclasses: org.apache.servicemix.jbi.messaging.DefaultMarshaler,
PojoMarshaler | public interface PojoMarshaler (Code) | | A plugin strategy which marshals an Object into and out of a JBI message.
This interface is used by the ServiceMixClient to marshal POJOs into and out
of JBI messages.
version: $Revision: 564607 $ |
Field Summary | |
String | BODY The key on the message to store the message body which cannot be
marshaled into or out of XML easily or to provide a cache of the object
representation of the object. |
BODY | String BODY(Code) | | The key on the message to store the message body which cannot be
marshaled into or out of XML easily or to provide a cache of the object
representation of the object.
|
marshal | void marshal(MessageExchange exchange, NormalizedMessage message, Object body) throws MessagingException(Code) | | Marshals the payload into the normalized message, typically as the
content property.
Parameters: exchange - the message exchange in which to marshal Parameters: message - the message in which to marshal Parameters: body - the body of the message as a POJO |
|
|