org.mule.transport.soap.axis
Class AxisMessageAdapter

java.lang.Object
  extended by org.mule.transport.AbstractMessageAdapter
      extended by org.mule.transport.soap.axis.AxisMessageAdapter
All Implemented Interfaces:
Serializable, ThreadSafeAccess, MessageAdapter

public class AxisMessageAdapter
extends AbstractMessageAdapter

AxisMessageAdapter wraps a soap message. The payload of the adapter is the raw message received from the transport, but you also have access to the SOAPMessage object by using adapter.getSOAPMessage()

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.mule.api.ThreadSafeAccess
ThreadSafeAccess.AccessControl
 
Field Summary
 
Fields inherited from class org.mule.transport.AbstractMessageAdapter
attachments, exceptionPayload, id, logger, properties
 
Fields inherited from interface org.mule.api.ThreadSafeAccess
READ, WRITE
 
Constructor Summary
AxisMessageAdapter(AxisMessageAdapter template)
           
AxisMessageAdapter(Object message)
           
 
Method Summary
 void addAttachment(String name, DataHandler dataHandler)
           
 Object getPayload()
           
 javax.xml.soap.SOAPMessage getSoapMessage()
           
 ThreadSafeAccess newThreadCopy()
           
 void removeAttachment(String name)
           
 
Methods inherited from class org.mule.transport.AbstractMessageAdapter
addInboundProperties, addProperties, addProperties, assertAccess, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, getUniqueId, isDisabled, newException, release, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setProperty, setReplyTo, setStringProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AxisMessageAdapter

public AxisMessageAdapter(Object message)
                   throws MessagingException
Throws:
MessagingException

AxisMessageAdapter

public AxisMessageAdapter(AxisMessageAdapter template)
Method Detail

getPayload

public Object getPayload()
Returns:
the current message

getSoapMessage

public javax.xml.soap.SOAPMessage getSoapMessage()

addAttachment

public void addAttachment(String name,
                          DataHandler dataHandler)
                   throws Exception
Specified by:
addAttachment in interface MessageAdapter
Overrides:
addAttachment in class AbstractMessageAdapter
Throws:
Exception

removeAttachment

public void removeAttachment(String name)
                      throws Exception
Specified by:
removeAttachment in interface MessageAdapter
Overrides:
removeAttachment in class AbstractMessageAdapter
Throws:
Exception

newThreadCopy

public ThreadSafeAccess newThreadCopy()
Specified by:
newThreadCopy in interface ThreadSafeAccess
Overrides:
newThreadCopy in class AbstractMessageAdapter


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.