|
||||||||||
| 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()
Deprecated. Helper method to create a new fault for this message exchange |
Object |
getBody()
Deprecated. Returns the body as a POJO. |
Object |
getBody(PojoMarshaler marshaler)
Deprecated. |
javax.jbi.messaging.MessageExchange |
getExchange()
Deprecated. Returns the message exchange |
void |
setBody(Object body)
Deprecated. Sets the body as a POJO |
| Methods inherited from interface org.apache.servicemix.jbi.api.Message |
|---|
getBody |
| Methods inherited from interface javax.jbi.messaging.NormalizedMessage |
|---|
addAttachment, getAttachment, getAttachmentNames, getContent, getProperty, getPropertyNames, getSecuritySubject, removeAttachment, setContent, setProperty, setSecuritySubject |
| Method Detail |
|---|
Object getBody()
throws javax.jbi.messaging.MessagingException
getBody in interface org.apache.servicemix.jbi.api.Messagejavax.jbi.messaging.MessagingException
void setBody(Object body)
throws javax.jbi.messaging.MessagingException
setBody in interface org.apache.servicemix.jbi.api.Messagejavax.jbi.messaging.MessagingException
Object getBody(PojoMarshaler marshaler)
throws javax.jbi.messaging.MessagingException
javax.jbi.messaging.MessagingExceptionjavax.jbi.messaging.MessageExchange getExchange()
getExchange in interface org.apache.servicemix.jbi.api.Message
javax.jbi.messaging.Fault createFault()
throws javax.jbi.messaging.MessagingException
createFault in interface org.apache.servicemix.jbi.api.Messagejavax.jbi.messaging.MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||