Sonic ESB API

com.sonicsw.xq
Interface XQDispatch


public interface XQDispatch

An XQDispatch provides access to all the Service extensions methods needed for asynchronous dispatch by a service.


Method Summary
 void dispatch(XQEnvelope envelope)
          Dispatches a message to all addresses in an envelope with XQQualityofService.BEST_EFFORT.
 void dispatch(XQEnvelope envelope, XQQualityofService qos)
          Dispatches a message to all addresses in an envelope with a specified XQQualityofService.When sending involves JMS Endpoints the following applies.
 

Method Detail

dispatch

void dispatch(XQEnvelope envelope)
              throws XQDispatchException
Dispatches a message to all addresses in an envelope with XQQualityofService.BEST_EFFORT. When sending involves JMS Endpoints, messages are sent non-persistent and non-transacted. JMS TTL and priority are set by the JMS Endpoint configurations associated with each address.

Parameters:
envelope -
Throws:
XQDispatchException
See Also:
XQQualityofService

dispatch

void dispatch(XQEnvelope envelope,
              XQQualityofService qos)
              throws XQDispatchException
Dispatches a message to all addresses in an envelope with a specified XQQualityofService.When sending involves JMS Endpoints the following applies. XQQualityofService.BEST_EFFORT messages are sent non-persistent and non-transacted. XQQualityofService.AT_LEAST_ONCE and XQQualityofService.EXACTLY_ONCE messages are sent persistent. XQQualityofService.EXACTLY_ONCE messages are dispatched within the current JMS transaction context. JMS TTL and priority are set by the JMS Endpoint configurations associated with each address.

Parameters:
envelope -
qos - Quality of service
Throws:
XQDispatchException
See Also:
XQQualityofService

Sonic ESB API

Copyright © 2001-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-Mar-2012.