View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.api.transport;
8   
9   import org.mule.api.MuleEvent;
10  import org.mule.api.MuleException;
11  import org.mule.api.MuleMessage;
12  import org.mule.api.transformer.Transformer;
13  
14  import java.util.List;
15  
16  /**
17   * <code>ReplyToHandler</code> is used to handle routing where a replyTo endpointUri is
18   * set on the message
19   */
20  
21  public interface ReplyToHandler
22  {
23      void processReplyTo(MuleEvent event, MuleMessage returnMessage, Object replyTo) throws MuleException;
24  
25      void setTransformers(List<Transformer> transformers);
26  
27      List<Transformer> getTransformers();
28  }