public class CamelMessage$
extends java.lang.Object
implements scala.Serializable
| Modifier and Type | Field and Description |
|---|---|
static CamelMessage$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
| Constructor and Description |
|---|
CamelMessage$() |
| Modifier and Type | Method and Description |
|---|---|
CamelMessage |
canonicalize(java.lang.Object msg)
Creates a canonical form of the given message
msg. |
void |
copyContent(CamelMessage from,
org.apache.camel.Message to)
INTERNAL API
copies the content of this CamelMessage to an Apache Camel Message.
|
CamelMessage |
from(org.apache.camel.Message camelMessage,
scala.collection.immutable.Map<java.lang.String,java.lang.Object> headers)
Creates a new CamelMessage object from the Camel message.
|
java.lang.String |
MessageExchangeId()
CamelMessage header to correlate request with response messages.
|
public static final CamelMessage$ MODULE$
public java.lang.String MessageExchangeId()
public CamelMessage canonicalize(java.lang.Object msg)
msg. If msg of type
CamelMessage then msg is returned, otherwise msg is set as body of a
newly created CamelMessage object.msg - (undocumented)public CamelMessage from(org.apache.camel.Message camelMessage, scala.collection.immutable.Map<java.lang.String,java.lang.Object> headers)
headers - additional headers to set on the created CamelMessage in addition to those
in the Camel message.camelMessage - (undocumented)public void copyContent(CamelMessage from, org.apache.camel.Message to)
from - (undocumented)to - (undocumented)