public interface MuleMessageFactory
MuleMessageFactory
is a factory for creating a MuleMessage
from a transport's
native message format (e.g. JMS message).Modifier and Type | Method and Description |
---|---|
MuleMessage |
create(Object transportMessage,
MuleMessage previousMessage,
String encoding)
Deprecated.
|
MuleMessage |
create(Object transportMessage,
MuleMessage previousMessage,
String encoding,
MuleContext muleContext)
Creates a
MuleMessage instance by extracting the payload from
transportMessage . |
MuleMessage |
create(Object transportMessage,
String encoding)
Deprecated.
|
MuleMessage |
create(Object transportMessage,
String encoding,
MuleContext muleContext)
Creates a
MuleMessage instance from transportMessage by extracting
its payload and, if available, any relevant message properties and attachments. |
@Deprecated MuleMessage create(Object transportMessage, String encoding) throws Exception
MuleMessage
instance from transportMessage
by extracting
its payload and, if available, any relevant message properties and attachments.
* @deprecated use create(Object, org.mule.api.MuleMessage, String, org.mule.api.MuleContext)
instead.Exception
@Deprecated MuleMessage create(Object transportMessage, MuleMessage previousMessage, String encoding) throws Exception
create(Object, org.mule.api.MuleMessage, String, org.mule.api.MuleContext)
instead.MuleMessage
instance by extracting the payload from
transportMessage
. Additional message properties will be taken from
previousMessage
.Exception
MuleMessage create(Object transportMessage, String encoding, MuleContext muleContext) throws Exception
MuleMessage
instance from transportMessage
by extracting
its payload and, if available, any relevant message properties and attachments.Exception
MuleMessage create(Object transportMessage, MuleMessage previousMessage, String encoding, MuleContext muleContext) throws Exception
MuleMessage
instance by extracting the payload from
transportMessage
. Additional message properties will be taken from
previousMessage
.Exception
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.