org.apache.camel.component.spring.integration
Class SpringIntegrationMessage

java.lang.Object
  extended by org.apache.camel.impl.MessageSupport
      extended by org.apache.camel.impl.DefaultMessage
          extended by org.apache.camel.component.spring.integration.SpringIntegrationMessage
All Implemented Interfaces:
org.apache.camel.Message

public class SpringIntegrationMessage
extends org.apache.camel.impl.DefaultMessage

The Message DefaultMessage implementation for accessing the SpringIntegrationMessage

Version:

Constructor Summary
SpringIntegrationMessage()
           
SpringIntegrationMessage(org.springframework.integration.Message<?> message)
           
 
Method Summary
 void copyFrom(org.apache.camel.Message that)
           
protected  Object createBody()
           
 Object getHeader(String name)
           
 Map<String,Object> getHeaders()
           
 org.springframework.integration.Message<?> getMessage()
           
 SpringIntegrationMessage newInstance()
           
 void setMessage(org.springframework.integration.Message<?> message)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.DefaultMessage
addAttachment, createAttachments, createExchangeId, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeader, hasAttachments, hasHeaders, hasPopulatedHeaders, isFault, isTransactedRedelivered, populateInitialAttachments, populateInitialHeaders, removeAttachment, removeHeader, removeHeaders, removeHeaders, setAttachments, setFault, setHeader, setHeaders
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, createMessageId, getBody, getBody, getBody, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, setBody, setBody, setExchange, setMessageId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpringIntegrationMessage

public SpringIntegrationMessage()

SpringIntegrationMessage

public SpringIntegrationMessage(org.springframework.integration.Message<?> message)
Method Detail

setMessage

public void setMessage(org.springframework.integration.Message<?> message)

getMessage

public org.springframework.integration.Message<?> getMessage()

copyFrom

public void copyFrom(org.apache.camel.Message that)
Specified by:
copyFrom in interface org.apache.camel.Message
Overrides:
copyFrom in class org.apache.camel.impl.MessageSupport

toString

public String toString()
Overrides:
toString in class org.apache.camel.impl.DefaultMessage

getHeader

public Object getHeader(String name)
Specified by:
getHeader in interface org.apache.camel.Message
Overrides:
getHeader in class org.apache.camel.impl.DefaultMessage

getHeaders

public Map<String,Object> getHeaders()
Specified by:
getHeaders in interface org.apache.camel.Message
Overrides:
getHeaders in class org.apache.camel.impl.DefaultMessage

newInstance

public SpringIntegrationMessage newInstance()
Overrides:
newInstance in class org.apache.camel.impl.DefaultMessage

createBody

protected Object createBody()
Overrides:
createBody in class org.apache.camel.impl.MessageSupport


Apache Camel