public class GenericFileMessage<T> extends DefaultMessage
| Constructor and Description |
|---|
GenericFileMessage() |
GenericFileMessage(GenericFile<T> file) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(Message that)
Copies the contents of the other message into this message
|
protected Object |
createBody()
A factory method to allow a provider to lazily create the message body
for inbound messages from other sources
|
GenericFile<T> |
getGenericFile() |
GenericFileMessage<T> |
newInstance()
Returns a new instance
|
void |
setGenericFile(GenericFile<T> file) |
String |
toString() |
addAttachment, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachments, setFault, setHeader, setHeaderscopy, copyAttachments, createMessageId, getBody, getBody, getBody, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setExchange, setMessageIdpublic GenericFileMessage()
public GenericFileMessage(GenericFile<T> file)
protected Object createBody()
MessageSupportcreateBody in class MessageSupportpublic GenericFile<T> getGenericFile()
public void setGenericFile(GenericFile<T> file)
public GenericFileMessage<T> newInstance()
MessageSupportnewInstance in class DefaultMessagepublic void copyFrom(Message that)
MessagecopyFrom in interface MessagecopyFrom in class MessageSupportthat - the other messagepublic String toString()
toString in class MessageSupportApache Camel