+

Search Tips | Advanced Search

XMSC_ASYNC_EXCEPTIONS

    Data type:
    System.Int32

    Property of:
    ConnectionFactory

This property determines whether XMS informs an ExceptionListener only when a connection is broken, or when any exception occurs asynchronously to an XMS API call. This property applies to all Connections created from this ConnectionFactory that have an ExceptionListener registered.

Valid values for this property are:

    XMSC_ASYNC_EXCEPTIONS_ALL
    Any exception detected asynchronously, outside the scope of a synchronous API call, and all connection broken exceptions are sent to the ExceptionListener.

    XMSC_ASYNC_EXCEPTIONS_CONNECTIONBROKEN
    Only exceptions indicating a broken connection are sent to the ExceptionListener. Any other exceptions occurring during asynchronous processing are not reported to the ExceptionListener, and hence the application is not informed of these exceptions.

By default this property is set to XMSC_ASYNC_EXCEPTIONS_ALL.

Parent topic: Property definitions

Last updated: 2020-10-04