Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Configure JMS templates

A JMS template provides an efficient means of defining multiple JMS queues and topics with similar configuration settings. Instead of re-entering configuration settings each time you define a new queue or topic, you can use a template and override the settings for which you want to assign a new value.

Once you configure a JMS template, you can select it from within a queue or topic resource.

To configure a JMS template:

  1. If necessary, configure a JMS system module for the JMS template. See Configure JMS system modules.
  2. Before creating a JMS template resource in a module, you can optionally create other quota and destination key resources in the module that can be referenced by destination using the template:
  3. Create JMS templates for destinations in a system module

    After creating a basic JMS template, you can define a number of optional properties for destinations that use the template:

    1. Configure general JMS template properties

      Configuring optional General JMS template properties includes selecting a destination key for sorting messages as they arrive on destinations.

    2. Configure advanced JMS template parameters

      Configuring optional Advanced template properties includes specifying message unit-of-order parameters, attaching the credentials of message senders, or defining message unit-of-work parameters.

    3. Configure JMS template thresholds and quota

      Define upper and lower byte and/or message thresholds for destinations, select a pre-configured quota specifying the maximum number of bytes or messages that destinations are allowed to store, or specify a maximum size allowed for messages on destinations.

    4. Configure JMS template message delivery overrides

      Define message delivery override values, such as message priority and time-to-deliver values, that can override those specified by a message producer.

    5. Configure JMS template message logging

      Enable the logging of message life cycle information into a JMS message log file. The content of the message log always includes message ID and correlation ID, but you can also configure information like message type and user properties.

    6. Configure JMS template message delivery failure parameters

      Define default message delivery failure values, such as defining a message redelivery limit, selecting a message expiration policy, and specifying an error destination for expired messages.

    7. Configure topic multicast parameters

      For topics only, define multicast parameters that enable the delivery of messages to a select group of hosts that subsequently forward the messages to subscribers.

    8. Configure JMS template subdeployments for error destinations

      Define a subdeployment for all error destinations associated with the template.

  4. In the event that you need to troubleshoot destinations using the template, you can temporarily pause all message production, insertion (in-flight messages), and consumption operations on those destinations when the server is restarted. See Pause JMS template message operations on server restart.

Related Tasks

Related Topics

Back to Top