org.mule.api.transport
Interface MuleMessageFactory

All Known Implementing Classes:
AbstractMuleMessageFactory, AjaxMuleMessageFactory, AxisMuleMessageFactory, DefaultMuleMessageFactory, FileContentsMuleMessageFactory, FileMuleMessageFactory, FtpMuleMessageFactory, HttpMuleMessageFactory, HttpMultipartMuleMessageFactory, JmsMuleMessageFactory, MailMuleMessageFactory, RmiMuleMessageFactory, ServletMuleMessageFactory, UdpMuleMessageFactory, XmppMuleMessageFactory

public interface MuleMessageFactory

MuleMessageFactory is a factory for creating a MuleMessage from a transport's native message format (e.g. JMS message).


Method Summary
 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. 
 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.
 

Method Detail

create

@Deprecated
MuleMessage create(Object transportMessage,
                              String encoding)
                   throws Exception
Deprecated. 

Creates a 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.

Throws:
Exception

create

@Deprecated
MuleMessage create(Object transportMessage,
                              MuleMessage previousMessage,
                              String encoding)
                   throws Exception
Deprecated. use create(Object, org.mule.api.MuleMessage, String, org.mule.api.MuleContext) instead.

Creates a MuleMessage instance by extracting the payload from transportMessage. Additional message properties will be taken from previousMessage.

Throws:
Exception

create

MuleMessage create(Object transportMessage,
                   String encoding,
                   MuleContext muleContext)
                   throws Exception
Creates a MuleMessage instance from transportMessage by extracting its payload and, if available, any relevant message properties and attachments.

Throws:
Exception

create

MuleMessage create(Object transportMessage,
                   MuleMessage previousMessage,
                   String encoding,
                   MuleContext muleContext)
                   throws Exception
Creates a MuleMessage instance by extracting the payload from transportMessage. Additional message properties will be taken from previousMessage.

Throws:
Exception


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.