+

Search Tips   |   Advanced Search

Exception destinations

An exception destination is a location for messages that cannot be delivered to, or remain on, a specified target destination, but that also cannot be discarded. Exception destinations prevent the loss of messages when this is required by the quality of service specified for a message.

An exception destination can be used in the following situations:

For each of these situations, we can configure which exception destination processing to use:

The report options that are set in the properties of individual messages can affect exception destination processing. Depending on the report option set, when the conditions apply for service integration to send a message to an exception destination, service integration also sends a report message to the reply-to destination of the message, or discards the message instead of sending it to the exception destination, or both.

  • Service integration cannot guarantee the ordering of messages sent to an exception destination. Because of this, if message order is important, we can configure a bus destination so that it does not use an exception destination. In this situation, the Maximum failed deliveries per message limit specified for the destination is ignored, and the message remains available to consumers. Synchronous consumers repeatedly attempt to get the message; message-driven beans and other asynchronous consumers repeatedly attempt consume the message. This situation continues until either the message is removed from the destination (for example, by an administrator using the administrative console) or the consumer can subsequently process the message without rolling back.


    Related concepts

  • WebSphere MQ link sender
  • Message reliability levels - JMS delivery mode and service integration quality of service


    Related tasks

  • Configure exception destination processing for a link to a foreign bus
  • Configure exception destination processing for a bus destination
  • Manage messages that use foreign bus connections

  • States of the WebSphere MQ link and its channels
  • JMS report messages


    Related information:

  • Destination defaults [Settings]