public interface Message
extends javax.jbi.messaging.NormalizedMessage
NormalizedMessage which allows you to
work directly with message bodies as POJOs ignoring the XML stuff or passing a binary
message around as a ByteBuffer or byte[]| Modifier and Type | Method and Description |
|---|---|
javax.jbi.messaging.Fault |
createFault()
Helper method to create a new fault for this message exchange
|
java.lang.Object |
getBody()
Returns the body as a POJO.
|
java.lang.Object |
getBody(PojoMarshaler marshaler)
Returns the body as a POJO.
|
javax.jbi.messaging.MessageExchange |
getExchange()
Returns the message exchange
|
void |
setBody(java.lang.Object body)
Sets the body as a POJO
|
java.lang.Object getBody()
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingExceptionjava.lang.Object getBody(PojoMarshaler marshaler) throws javax.jbi.messaging.MessagingException
marshaler - marshaler to be used for conversionjavax.jbi.messaging.MessagingExceptionvoid setBody(java.lang.Object body)
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingExceptionjavax.jbi.messaging.MessageExchange getExchange()
javax.jbi.messaging.Fault createFault()
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingExceptionCopyright © 2005-2014 FuseSource. All Rights Reserved.