org.mule.routing.requestreply
Class SimpleAsyncRequestReplyRequester

java.lang.Object
  extended by org.mule.processor.AbstractInterceptingMessageProcessor
      extended by org.mule.routing.requestreply.AbstractAsyncRequestReplyRequester
          extended by org.mule.routing.requestreply.SimpleAsyncRequestReplyRequester
All Implemented Interfaces:
FlowConstructAware, Startable, Stoppable, InterceptingMessageProcessor, MessageProcessor, RequestReplyRequesterMessageProcessor, MessageSource

public class SimpleAsyncRequestReplyRequester
extends AbstractAsyncRequestReplyRequester
implements Startable, Stoppable, FlowConstructAware


Field Summary
 
Fields inherited from class org.mule.routing.requestreply.AbstractAsyncRequestReplyRequester
failOnTimeout, flowConstruct, locks, MAX_PROCESSED_GROUPS, processed, processedLock, replyMessageSource, responseEvents, timeout
 
Fields inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
logger, next
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Constructor Summary
SimpleAsyncRequestReplyRequester()
           
 
Method Summary
protected  void sendAsyncRequest(MuleEvent event)
           
protected  void setAsyncReplyProperties(MuleEvent event)
           
 void setFlowConstruct(FlowConstruct flowConstruct)
           
 void setMessageProcessor(MessageProcessor processor)
           
 void setMessageSource(MessageSource source)
          Deprecated. 
 void start()
           
 void stop()
           
protected  void verifyReplyMessageSource(MessageSource messageSource)
           
 
Methods inherited from class org.mule.routing.requestreply.AbstractAsyncRequestReplyRequester
addProcessed, getAsyncReplyCorrelationId, isAlreadyProcessed, postLatchAwait, process, receiveAsyncReply, setFailOnTimeout, setReplySource, setTimeout, toString
 
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessor
processNext, setListener
 
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

SimpleAsyncRequestReplyRequester

public SimpleAsyncRequestReplyRequester()
Method Detail

sendAsyncRequest

protected void sendAsyncRequest(MuleEvent event)
                         throws MuleException
Overrides:
sendAsyncRequest in class AbstractAsyncRequestReplyRequester
Throws:
MuleException

setAsyncReplyProperties

protected void setAsyncReplyProperties(MuleEvent event)
                                throws MuleException
Throws:
MuleException

verifyReplyMessageSource

protected void verifyReplyMessageSource(MessageSource messageSource)
Overrides:
verifyReplyMessageSource in class AbstractAsyncRequestReplyRequester

setMessageProcessor

public void setMessageProcessor(MessageProcessor processor)

setMessageSource

@Deprecated
public void setMessageSource(MessageSource source)
Deprecated. 


start

public void start()
           throws MuleException
Specified by:
start in interface Startable
Throws:
MuleException

stop

public void stop()
          throws MuleException
Specified by:
stop in interface Stoppable
Throws:
MuleException

setFlowConstruct

public void setFlowConstruct(FlowConstruct flowConstruct)
Specified by:
setFlowConstruct in interface FlowConstructAware


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