Professional Documents
Culture Documents
"please note this document is generic please follow the name and other details as per as your configuration or
requirement following proper naming convention. ; for example soa_server1 is used as soa server name in
this docs if in your configuration soa server name is wls_soa1 than consider the same and for all"
Configuration of various JMS resources in WLS
1-JMS Module(Optional) : Is a definition that contains various JMS Resources like queues, topics, etc.
2-Sub-Deployment(Optional) : used to group target servers
3-Connection Factory : is a Weblogic resource that enables JMS clients to create connections to JMS destinations
4-Queue / Topic : the actual destination of the message, either a queue(point to point) or topic(publish-subscribe)
5-Connection Pool : Create a pool of connections for the JMSAdapter application
3) In order to enable the buttons click on the Lock & Edit button under Change Center on the top left
corner.
Resource Configuration:-
1-JMS Module(Optional)
This step is not mandatory, one can use the default module 'SOAJMSModule' or can create new as described
here.
Weblogic Console --> Services --> Messaging --> JMS Module --> New --> Provide a JMS Module Name --> select
the target server(to which you want to deploy this, usually the managed server where SOA is configured) -->
Leave the check box (Would you like to add resources to this JMS system module?) --> Click Finish
Click Finish
2-Sub-Deployment(Optional)
Every JMSModule has to be targeted to a Sub-Deployment. A Sub-Deployment is used to group targets
Click on the just created MyJMSModule --> click on Subdeployments tab at the top --> New --> Give name to the
Subdeployments --> select the target (can either be a server or JMSServer. As this is specific to JMS,
SOAJMSServer is selected(default available JMS Server. You can even create your own JMSServer))
3-Connection Factory
A Connection Factory is used to create connections for the JMS Clients to interact with JMS Resources
Click on the just created MyJMSModule --> New --> Connection Factory --> Give name & JNDI name -->
soa_server1(selected by default) --> Finish
4-Creating a Queue
Queue is the actual destination
Click on the just created MyJMSModule --> New --> Queue --> Give name & JNDI name --> select
Subdeployments --> Finish
5-Connection Pool
For this, go to Deployments --> JMSAdapter --> Configuration --> Outbound Connection Pools --> New -->
oracle.tip.adapter.jms.IJmsConnectionFactory --> Next --> Provide JNDI Name for the Connection Pool(This will
be used in the JMSAdapter configuration in the Composite)
This will create a Connection Pool, but Connection Factory(the resource used to connect to Queue) is not yet
configured, which is done in the next step
Now
Click on the just created connection pool --> enter the ConnectionFactoryLocation as the JNDI name that is
created in Step 2 (which is jms/myConnFactory and make sure to hit Enter) --> Save
Make sure you see a message at the top of the screen saying, Selected Deployments were updated.
In the Change Center panel in the upper left corner of your screen, click Activate Changes
Prepared by Abhishek Ajral
Again, ensure that the message that the top of the screen reads, All changes have been activated. No restarts
are necessary.
Now, the ConnectionPool name eis/jms/myConnPool can be used in the JMSAdapter in your SOA Composite
If you get any error saying the connectionPool not found, restart the SOA Server
End