public class GenericFileMessage<T>
extends org.apache.camel.support.DefaultMessage
| Constructor and Description |
|---|
GenericFileMessage(org.apache.camel.CamelContext camelContext) |
GenericFileMessage(org.apache.camel.CamelContext camelContext,
GenericFile<T> file) |
GenericFileMessage(org.apache.camel.Exchange exchange,
GenericFile<T> file) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(org.apache.camel.Message that) |
protected Object |
createBody() |
GenericFile<T> |
getGenericFile() |
GenericFileMessage<T> |
newInstance() |
void |
setGenericFile(GenericFile<T> file) |
String |
toString() |
addAttachment, addAttachmentObject, createAttachments, createHeaders, getAttachment, getAttachmentNames, getAttachmentObject, getAttachmentObjects, getAttachments, getHeader, getHeader, getHeader, getHeader, getHeader, getHeader, getHeaders, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachmentObjects, setAttachments, setFault, setHeader, setHeaderscopy, copyAttachments, copyFromWithNewBody, createMessageId, getBody, getBody, getBody, getCamelContext, getDataType, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, hasDataType, setBody, setBody, setBody, setCamelContext, setDataType, setExchange, setMessageIdpublic GenericFileMessage(org.apache.camel.CamelContext camelContext)
public GenericFileMessage(org.apache.camel.Exchange exchange,
GenericFile<T> file)
public GenericFileMessage(org.apache.camel.CamelContext camelContext,
GenericFile<T> file)
protected Object createBody()
createBody in class org.apache.camel.support.MessageSupportpublic GenericFile<T> getGenericFile()
public void setGenericFile(GenericFile<T> file)
public GenericFileMessage<T> newInstance()
newInstance in class org.apache.camel.support.DefaultMessagepublic void copyFrom(org.apache.camel.Message that)
copyFrom in interface org.apache.camel.MessagecopyFrom in class org.apache.camel.support.MessageSupportpublic String toString()
toString in class org.apache.camel.support.MessageSupportApache Camel