View Javadoc

1   /*
2    * $Id: RequestReplyReplierMessageProcessor.java 20320 2010-11-24 15:03:31Z dfeist $
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} and
19   * then rather than returning the result to this processors {@link MessageSource}
20   * sending it via a seperate reply {@link MessageProcessor},
21   * <p>
22   * Some implementations may not use the replyTo messageProcessor but rather use a
23   * message property to determine what should be used for processing the async reply
24   * 
25   * @since 3.0
26   */
27  public interface RequestReplyReplierMessageProcessor extends InterceptingMessageProcessor
28  {
29  
30      /**
31       * @param replyMessageProcessor the message processor that will be used to send
32       *            the reply message
33       */
34      void setReplyProcessor(MessageProcessor replyMessageProcessor);
35  }