org.mule.routing.requestreply
Class SimpleRequestReplyReplier

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessorBase
      extended by org.mule.processor.AbstractInterceptingMessageProcessor
          extended by org.mule.routing.requestreply.SimpleRequestReplyReplier
All Implemented Interfaces:
AnnotatedObject, MuleContextAware, InterceptingMessageProcessor, MessageProcessor, RequestReplyReplierMessageProcessor, MessageSource

public class SimpleRequestReplyReplier
extends AbstractInterceptingMessageProcessor
implements RequestReplyReplierMessageProcessor


Field Summary
protected  MessageProcessor replyMessageProcessor
           
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase
logger, muleContext, next, notificationHandler
 
Fields inherited from interface org.mule.api.AnnotatedObject
PROPERTY_NAME
 
Constructor Summary
SimpleRequestReplyReplier()
           
 
Method Summary
 MuleEvent process(MuleEvent event)
          Invokes the MessageProcessor.
 void setReplyProcessor(MessageProcessor replyMessageProcessor)
           
 
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

replyMessageProcessor

protected MessageProcessor replyMessageProcessor
Constructor Detail

SimpleRequestReplyReplier

public SimpleRequestReplyReplier()
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

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.