send(MessageExchange exchange) Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component.
boolean
sendSync(MessageExchange exchange) Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component, blocking until the exchange is
returned.
boolean
sendSync(MessageExchange exchange, long timeout) Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component, blocking until the specified
timeout is reached.
Blocking call used to service a MessageExchange instance which has
been initiated by another component. This method supports concurrent
invocation for multi-threaded environments.
mesage exchange instance throws: MessagingException - failed to accept
Identical to accept(), but returns after specified interval even if
a message exchange is unavailable.
Parameters: timeout - time to wait in milliseconds mesage exchange instance or null if timeout is reached throws: MessagingException - failed to accept
Create a message exchange factory for the given interface name.
Parameters: interfaceName - name of the interface for which all exchanges created by the returned factory will be set an exchange factory that will create exchanges for the given interface; must be non-null
Create a message exchange factory for the given endpoint.
Parameters: endpoint - endpoint for which all exchanges created by thereturned factory will be set for an exchange factory that will create exchanges for the given endpoint
Create a message exchange factory for the given service name.
Parameters: serviceName - name of the service for which all exchanges created by the returned factory will be set an exchange factory that will create exchanges for the given service; must be non-null
Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component. This method supports concurrent
invocation for multi-threaded environments.
Parameters: exchange - message exchange to send throws: MessagingException - unable to send exchange
Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component, blocking until the exchange is
returned. This method supports concurrent invocation for multi-threaded
environments.
Parameters: exchange - message exchange to send true if the exchange has been processed and returned by theservicing component, false otherwise. throws: MessagingException - unable to send exchange
Routes a MessageExchange instance through the Normalized Message Service
to the appropriate servicing component, blocking until the specified
timeout is reached. This method supports concurrent invocation for
multi-threaded environments.
Parameters: exchange - message exchange to send Parameters: timeout - time to wait in milliseconds true if the exchange has been processed and returned by theservicing component, false in the case of timeout. throws: MessagingException - unable to send exchange