org.mule.routing.requestreply
Class AbstractReplyToPropertyRequestReplyReplier

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessorBase
      extended by org.mule.processor.AbstractInterceptingMessageProcessor
          extended by org.mule.routing.requestreply.AbstractReplyToPropertyRequestReplyReplier
All Implemented Interfaces:
AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, RequestReplyReplierMessageProcessor, MessageSource
Direct Known Subclasses:
AsyncReplyToPropertyRequestReplyReplier, ReplyToPropertyRequestReplyReplier

public abstract class AbstractReplyToPropertyRequestReplyReplier
extends AbstractInterceptingMessageProcessor
implements RequestReplyReplierMessageProcessor


Field Summary
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
logger, muleContext, next, notificationHandler
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
AbstractReplyToPropertyRequestReplyReplier()
           
 
Method Summary
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
protected  void processReplyTo(MuleEvent event, MuleEvent result, ReplyToHandler replyToHandler, Object replyTo)
           
 void setReplyProcessor(MessageProcessor replyMessageProcessor)
           
protected abstract  boolean shouldProcessEvent(MuleEvent event)
           
 
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
 

Constructor Detail

AbstractReplyToPropertyRequestReplyReplier

public AbstractReplyToPropertyRequestReplyReplier()
Method Detail

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

shouldProcessEvent

protected abstract boolean shouldProcessEvent(MuleEvent event)

processReplyTo

protected void processReplyTo(MuleEvent event,
                              MuleEvent result,
                              ReplyToHandler replyToHandler,
                              Object replyTo)
                       throws MuleException
Throws:
MuleException

setReplyProcessor

public void setReplyProcessor(MessageProcessor replyMessageProcessor)
Specified by:
setReplyProcessor in interface RequestReplyReplierMessageProcessor
Parameters:
replyMessageProcessor - the message processor that will be used to send the reply message


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