1 10 11 package org.mule.umo.routing; 12 13 import org.mule.umo.MessagingException; 14 import org.mule.umo.UMOMessage; 15 import org.mule.umo.UMOSession; 16 import org.mule.umo.UMOTransactionConfig; 17 import org.mule.umo.endpoint.UMOEndpoint; 18 19 import java.util.List ; 20 21 31 32 public interface UMOOutboundRouter extends UMORouter 33 { 34 39 void setEndpoints(List endpoints); 40 41 46 List getEndpoints(); 47 48 53 void addEndpoint(UMOEndpoint endpoint); 54 55 61 boolean removeEndpoint(UMOEndpoint endpoint); 62 63 83 UMOMessage route(UMOMessage message, UMOSession session, boolean synchronous) throws MessagingException; 84 85 97 boolean isMatch(UMOMessage message) throws MessagingException; 98 99 UMOTransactionConfig getTransactionConfig(); 100 101 void setTransactionConfig(UMOTransactionConfig transactionConfig); 102 103 111 public String getReplyTo(); 112 113 121 public void setReplyTo(String replyTo); 122 123 130 public boolean isDynamicEndpoints(); 131 132 } 133 | Popular Tags |