org.mule.endpoint.outbound
Class OutboundResponsePropertiesMessageProcessor

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
      extended by org.mule.endpoint.outbound.OutboundResponsePropertiesMessageProcessor
All Implemented Interfaces:
MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource

public class OutboundResponsePropertiesMessageProcessor
extends AbstractInterceptingMessageProcessor

Propagates properties from request message to response message as defined by OutboundEndpoint.getResponseProperties().

//TODO This can became a standard MessageProcessor in the response chain if/when event has a (immutable) reference to request message.


Field Summary
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
logger, muleContext, next, notificationHandler
 
Constructor Summary
OutboundResponsePropertiesMessageProcessor(OutboundEndpoint endpoint)
           
 
Method Summary
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
fireNotification, getMuleContext, processNext, setListener, setMuleContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutboundResponsePropertiesMessageProcessor

public OutboundResponsePropertiesMessageProcessor(OutboundEndpoint endpoint)
Method Detail

process

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

Parameters:
event - MuleEvent to be processed
Returns:
optional response MuleEvent
Throws:
MuleException


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