-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Configure JMSConfigure 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.
- If necessary, configure a JMS system module for the JMS template. See Configure JMS system modules.
- 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:
- Destination keys allow you to define the sort order of messages that arrive on destinations using the template. See Configure destination keys.
- Quotas are used to control the allotment of system resources available to destinations using the template. See Configure quotas for destinations.
- 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:
- Configure general JMS template properties
Configuring optional General JMS template properties includes selecting a destination key for sorting messages as they arrive on destinations.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Configure JMS template subdeployments for error destinations
Define a subdeployment for all error destinations associated with the template.
- 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
} } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i