|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
An extension of the standard 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[]
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface javax.jbi.messaging.NormalizedMessage |
|---|
addAttachment, getAttachment, getAttachmentNames, getContent, getProperty, getPropertyNames, getSecuritySubject, removeAttachment, setContent, setProperty, setSecuritySubject |
| Method Detail |
|---|
java.lang.Object getBody()
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingException
java.lang.Object getBody(PojoMarshaler marshaler)
throws javax.jbi.messaging.MessagingException
marshaler - marshaler to be used for conversion
javax.jbi.messaging.MessagingException
void 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.MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||