Coverage Report - org.mule.api.processor.RequestReplyRequesterMessageProcessor
 
Classes in this File Line Coverage Branch Coverage Complexity
RequestReplyRequesterMessageProcessor
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id$
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.api.processor;
 12  
 
 13  
 import org.mule.api.MuleEvent;
 14  
 import org.mule.api.source.MessageSource;
 15  
 
 16  
 /**
 17  
  * <p>
 18  
  * Processes a {@link MuleEvent}'s by invoking the next {@link MessageProcessor} but receiving the reply,
 19  
  * which is turn is returned from this MessageProcessor from a seperate {@link MessageSource} rather than
 20  
  * using the return value of the <code>next</code> MessageProcessor invocation. Because two seperate channels
 21  
  * are used, most implementations will want to implement the concept of a timeout which defines how long a
 22  
  * reply should be waited for.
 23  
  * 
 24  
  * @since 3.0
 25  
  */
 26  
 public interface RequestReplyRequesterMessageProcessor extends InterceptingMessageProcessor
 27  
 {
 28  
 
 29  
     /**
 30  
      * @param messageSource the message source that will be used to receive the reply message
 31  
      */
 32  
     void setReplySource(MessageSource replyMessageSource);
 33  
 }