1 17 package javax.jbi.messaging; 18 19 import java.net.URI ; 20 21 import javax.xml.namespace.QName ; 22 23 public interface MessageExchangeFactory 24 { 25 MessageExchange createExchange(QName serviceName, QName operationName) 26 throws MessagingException; 27 28 MessageExchange createExchange(URI pattern) 29 throws MessagingException; 30 31 InOnly createInOnlyExchange() 32 throws MessagingException; 33 34 InOptionalOut createInOptionalOutExchange() 35 throws MessagingException; 36 37 InOut createInOutExchange() 38 throws MessagingException; 39 40 RobustInOnly createRobustInOnlyExchange() 41 throws MessagingException; 42 } 43 | Popular Tags |