org.mule.service.processor
Class ServiceOutboundMessageProcessor

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessorBase
      extended by org.mule.processor.AbstractInterceptingMessageProcessor
          extended by org.mule.service.processor.ServiceOutboundMessageProcessor
All Implemented Interfaces:
AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, MessageSource

public class ServiceOutboundMessageProcessor
extends AbstractInterceptingMessageProcessor

Responsible for determining if the Service outbound phase should be used and making a copy of the event to use.

If the service component is a PassThroughComponent a null from the outbound phase will result in a NullPayload being returned, otherwise when the outbound phase returns null this MessageProcessor will return the request event.


Field Summary
protected  Service service
           
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
logger, muleContext, next, notificationHandler
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
ServiceOutboundMessageProcessor(Service service)
           
 
Method Summary
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, setMuleContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mule.api.source.MessageSource
setListener
 

Field Detail

service

protected Service service
Constructor Detail

ServiceOutboundMessageProcessor

public ServiceOutboundMessageProcessor(Service service)
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-2012 MuleSoft, Inc.. All Rights Reserved.