|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeliveryChannel
Bi-directional communication channel used to interact with the Normalized Message Service.
| Method Summary | |
|---|---|
MessageExchange |
accept()
Blocking call used to service a MessageExchange instance which has been initiated by another component. |
MessageExchange |
accept(long timeout)
Identical to accept(), but returns after specified interval even if a message exchange is unavailable. |
void |
close()
Closes the delivery channel, halting all message traffic. |
MessageExchangeFactory |
createExchangeFactory()
Create a message exchange factory. |
MessageExchangeFactory |
createExchangeFactory(javax.xml.namespace.QName interfaceName)
Create a message exchange factory for the given interface name. |
MessageExchangeFactory |
createExchangeFactory(ServiceEndpoint endpoint)
Create a message exchange factory for the given endpoint. |
MessageExchangeFactory |
createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
Create a message exchange factory for the given service name. |
void |
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. |
| Method Detail |
|---|
void close()
throws MessagingException
MessagingException - fatal error while closing channel.MessageExchangeFactory createExchangeFactory()
MessageExchangeFactory createExchangeFactory(javax.xml.namespace.QName interfaceName)
interfaceName - name of the interface for which all exchanges
created by the returned factory will be set
MessageExchangeFactory createExchangeFactoryForService(javax.xml.namespace.QName serviceName)
serviceName - name of the service for which all exchanges
created by the returned factory will be set
MessageExchangeFactory createExchangeFactory(ServiceEndpoint endpoint)
endpoint - endpoint for which all exchanges created by the
returned factory will be set for
MessageExchange accept()
throws MessagingException
MessagingException - failed to accept
MessageExchange accept(long timeout)
throws MessagingException
timeout - time to wait in milliseconds
MessagingException - failed to accept
void send(MessageExchange exchange)
throws MessagingException
exchange - message exchange to send
MessagingException - unable to send exchange
boolean sendSync(MessageExchange exchange)
throws MessagingException
exchange - message exchange to send
MessagingException - unable to send exchange
boolean sendSync(MessageExchange exchange,
long timeout)
throws MessagingException
exchange - message exchange to sendtimeout - time to wait in milliseconds
MessagingException - unable to send exchange
|
${build-info} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||