org.mule.module.ws.consumer
Class WSConsumer

java.lang.Object
  extended by org.mule.module.ws.consumer.WSConsumer
All Implemented Interfaces:
MuleContextAware, Initialisable, MessageProcessor

public class WSConsumer
extends Object
implements MessageProcessor, Initialisable, MuleContextAware


Field Summary
static String SOAP_ACTION_PROPERTY
           
static String SOAP_HEADERS_PROPERTY_PREFIX
           
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Constructor Summary
WSConsumer()
           
 
Method Summary
 WSConsumerConfig getConfig()
           
 String getOperation()
           
 void initialise()
          Method used to perform any initialisation work.
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 void setConfig(WSConsumerConfig config)
           
 void setMuleContext(MuleContext muleContext)
           
 void setOperation(String operation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOAP_ACTION_PROPERTY

public static final String SOAP_ACTION_PROPERTY
See Also:
Constant Field Values

SOAP_HEADERS_PROPERTY_PREFIX

public static final String SOAP_HEADERS_PROPERTY_PREFIX
See Also:
Constant Field Values
Constructor Detail

WSConsumer

public WSConsumer()
Method Detail

initialise

public void initialise()
                throws InitialisationException
Description copied from interface: Initialisable
Method used to perform any initialisation work. If a fatal error occurs during initialisation an InitialisationException should be thrown, causing the Mule instance to shutdown. If the error is recoverable, say by retrying to connect, a RecoverableException should be thrown. There is no guarantee that by throwing a Recoverable exception that the Mule instance will not shut down.

Specified by:
initialise in interface Initialisable
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from

process

public MuleEvent process(MuleEvent event)
                  throws MuleException
Description copied from interface: MessageProcessor
Invokes the MessageProcessor.

Specified by:
process in interface MessageProcessor
Parameters:
event - MuleEvent to be processed
Returns:
optional response MuleEvent
Throws:
MuleException

setMuleContext

public void setMuleContext(MuleContext muleContext)
Specified by:
setMuleContext in interface MuleContextAware

getConfig

public WSConsumerConfig getConfig()

setConfig

public void setConfig(WSConsumerConfig config)

getOperation

public String getOperation()

setOperation

public void setOperation(String operation)


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