Databases Reference
In-Depth Information
How it works...
The distributed queue
JMSAppQueue
and the connection factory
JMSAppConnectionFactory
were created and added to the JMS module.
The uniformly distributed queue is targeted to the
JMSAppSub
subdeployment. The uniform
distribution means that WebLogic create a queue member of the distributed queue in each
of the JMS servers of the subdeployment automatically.
Avoid targeting a uniformly distributed queue to a cluster, otherwise
WebLogic will create a queue member in every JMS server found in the
cluster. Use the subdeployment targeting with specific JMS servers for a
more controlled configuration.
WebLogic has two connection factories enabled by default that can be used by
the application—
weblogic.jms.ConnectionFactory
and
weblogic.jms.
XAConnectionFactory
.
It's recommended that an application use a custom connection
factory since the two default connection factories cannot be tuned.
The custom connection factory
JMSAPPConnectionFactory
was created with the JNDI
name
jms.appcf
and is ready to be used by the
JMSApp
.
There's more...
The JMS resources can be created using WLST.
Creating the distributed queue and connection factory
using WLST
1. Log in as a
wls
user to the shell and start WLST.
[wls@prod01]$ $WL_HOME/common/bin/wlst.sh
Search WWH ::
Custom Search