A destination's specified error destination must be targeted to the same JMS server as the destination itself, which makes it difficult for multiple destinations to use a template's specified error destination since destinations can targeted to different JMS servers. However, you can define template subdeployments for error destinations so that any number of destination subdeployments (groups of queue or topics) will use only the error destinations associated with those destination subdeployments, since the destination subdeployment names will match the template's subdeployment names.
For example, if a hundred queues share the same template, with fifty in a queue subdeployment targeted to one JMS server and the other fifty in another queue subdeployment targeted to another JMS server, then you can configure two separate template subdeployments: one with the same subdeployment name used by the first fifty queues and the other with the same subdeployment name used by the second fifty queues. This way, each template subdeployment can point to a different error queue, with the destinations in the first subdeployment using the first error queue, and the destinations in the second subdeployment using the second error queue.
To configure error destination subdeployments for a JMS template:
For more information about these fields, see Configuration Options.
![]() ![]() |