|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.transport.AbstractMuleMessageFactory
public abstract class AbstractMuleMessageFactory
Field Summary | |
---|---|
protected MuleContext |
muleContext
|
Constructor Summary | |
---|---|
AbstractMuleMessageFactory()
Required by subclasses to instantiate factory through reflection. |
|
AbstractMuleMessageFactory(MuleContext context)
Deprecated. use AbstractMuleMessageFactory() instead |
Method Summary | |
---|---|
protected void |
addAttachments(DefaultMuleMessage message,
Object transportMessage)
|
protected void |
addProperties(DefaultMuleMessage message,
Object transportMessage)
|
MuleMessage |
create(Object transportMessage,
MuleMessage previousMessage,
String encoding)
Deprecated. use create(Object, org.mule.api.MuleMessage, String, org.mule.api.MuleContext) instead. |
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. use create(Object, String, org.mule.api.MuleContext) instead. |
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. |
protected abstract Object |
extractPayload(Object transportMessage,
String encoding)
|
protected abstract Class<?>[] |
getSupportedTransportMessageTypes()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MuleContext muleContext
Constructor Detail |
---|
public AbstractMuleMessageFactory()
@Deprecated public AbstractMuleMessageFactory(MuleContext context)
AbstractMuleMessageFactory()
instead
Method Detail |
---|
@Deprecated public MuleMessage create(Object transportMessage, String encoding) throws Exception
create(Object, String, org.mule.api.MuleContext)
instead.
MuleMessageFactory
MuleMessage
instance from transportMessage
by extracting
its payload and, if available, any relevant message properties and attachments.
* @deprecated use MuleMessageFactory.create(Object, org.mule.api.MuleMessage, String, org.mule.api.MuleContext)
instead.
create
in interface MuleMessageFactory
Exception
@Deprecated public MuleMessage create(Object transportMessage, MuleMessage previousMessage, String encoding) throws Exception
create(Object, org.mule.api.MuleMessage, String, org.mule.api.MuleContext)
instead.
MuleMessageFactory
MuleMessage
instance by extracting the payload from
transportMessage
. Additional message properties will be taken from
previousMessage
.
create
in interface MuleMessageFactory
Exception
public MuleMessage create(Object transportMessage, MuleMessage previousMessage, String encoding, MuleContext muleContext) throws Exception
MuleMessageFactory
MuleMessage
instance by extracting the payload from
transportMessage
. Additional message properties will be taken from
previousMessage
.
create
in interface MuleMessageFactory
Exception
public MuleMessage create(Object transportMessage, String encoding, MuleContext muleContext) throws Exception
MuleMessageFactory
MuleMessage
instance from transportMessage
by extracting
its payload and, if available, any relevant message properties and attachments.
create
in interface MuleMessageFactory
Exception
protected abstract Class<?>[] getSupportedTransportMessageTypes()
protected abstract Object extractPayload(Object transportMessage, String encoding) throws Exception
Exception
protected void addProperties(DefaultMuleMessage message, Object transportMessage) throws Exception
Exception
protected void addAttachments(DefaultMuleMessage message, Object transportMessage) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |