|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteMessageExchangeFactory
the rmi interface of MessageExchangeFactory.
| Method Summary | |
|---|---|
javax.jbi.messaging.MessageExchange |
createExchange(javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName operationName)
TODO createExchange find an endpoint for the service at the ME creation Creates a new MessageExchange instance used to initiate a
service invocation. |
javax.jbi.messaging.MessageExchange |
createExchange(java.net.URI pattern)
Creates a new MessageExchange instance used to initiate a service invocation. |
javax.jbi.messaging.InOnly |
createInOnlyExchange()
Convenience method that creates an In-Only message exchange. |
javax.jbi.messaging.InOptionalOut |
createInOptionalOutExchange()
Convenience method that creates an In-Optional-Out message exchange. |
javax.jbi.messaging.InOut |
createInOutExchange()
Convenience method that creates an In Out message exchange. |
javax.jbi.messaging.RobustInOnly |
createRobustInOnlyExchange()
Convenience method that creates a Robust-In-Only message exchange. |
| Method Detail |
|---|
javax.jbi.messaging.MessageExchange createExchange(javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName operationName)
throws javax.jbi.messaging.MessagingException,
java.rmi.RemoteException
MessageExchange instance used to initiate a
service invocation.
JBI defines a set of four basic message exchange types, corresponding to
the predefined in-* WSDL 2.0 Message Exchange Patterns. Message exchanges
of any type are created using the DeliveryChannel.
serviceName - the name of the service to be invoked; must be non-nulloperationName - the name of the operation to be invoked; must be non-null and
non-empty
javax.jbi.messaging.MessagingException - if the given service or operation are not registered with the
NMR.
java.rmi.RemoteException - impossible to realize a remote access
javax.jbi.messaging.MessagingException - if the factory was created for a particular interface, and
the given serviceName does not implement that interface.
javax.jbi.messaging.MessageExchange createExchange(java.net.URI pattern)
throws javax.jbi.messaging.MessagingException,
java.rmi.RemoteException
pattern - message exchange pattern; must be non-null and non-empty
java.rmi.RemoteException - impossible to realize a remote access
javax.jbi.messaging.MessagingException - specified pattern is not registered to a message exchange
type
javax.jbi.messaging.InOnly createInOnlyExchange()
throws javax.jbi.messaging.MessagingException,
java.rmi.RemoteException
java.rmi.RemoteException - impossible to realize a remote access
javax.jbi.messaging.MessagingException - failed to create exchange
javax.jbi.messaging.InOptionalOut createInOptionalOutExchange()
throws javax.jbi.messaging.MessagingException,
java.rmi.RemoteException
java.rmi.RemoteException - impossible to realize a remote access
javax.jbi.messaging.MessagingException - failed to create exchange
javax.jbi.messaging.InOut createInOutExchange()
throws javax.jbi.messaging.MessagingException,
java.rmi.RemoteException
java.rmi.RemoteException - impossible to realize a remote access
javax.jbi.messaging.MessagingException - failed to create exchange
javax.jbi.messaging.RobustInOnly createRobustInOnlyExchange()
throws javax.jbi.messaging.MessagingException,
java.rmi.RemoteException
java.rmi.RemoteException - impossible to realize a remote access
javax.jbi.messaging.MessagingException - failed to create exchange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||