Monday, August 17, 2009

11g-creating jms resource

In weblogic console

expand Services click on Messaging and click JMS Modules over there.




Click on SOAJMS Module and you will get a screen like this



Click on new and choose queue.

Then say next



provide a name and a jms name to the queue



Select subdedployment as soasubdeployment and select SOAJMS Server



and say Finish

and you will get the queue created in the list of summary of resources




now we will create the connection factory for the queue

Create new on the Summary of resources and select connection factory



provide the name and the jndi name for the connection factory




Say next and finish.




You will find both the queue and the connection factory now in the Summary of resources tab.

Now we will create the connection pool

The connection pool is configured in the JMSAdapter application and it use some Deployment Plan.we will create a directory for the same because by default it deploys to the same directory with the same name.

So i have created a new directory structure

D:\oracle\Middleware\Oracle_SOA1\soa\jmsplan

Now go to weblogic console click on deployment and choose JMSAdapter



Now go to Configuration tab->outbound connection pools




Now select new and Select the factory oracle.tip.adapter.jms.IJmsConnectionFactory



Say next and provide the jndi name



Say Finish

Now provide the directory name we have created earlier and name the plan as plan.xml



Say ok and check the folder if it is correct where the plan is deployed.




Now check the Configuration tab
Expand the factory: oracle.tip.adapter.jms.IJmsConnectionFactory
Click on eis/jms/Queue1



Provide the connection factory location and say save

jms/ConnectionFactory1



No again go back to deployment check JMSAdapter and click on update




Check whether the deployment path plan is correct or not and say finish and you are done with jms conncetion.



All the other adapters are configured in a similar way.SO one can take help from either db adapter configuration or jms adapter configuration and configure for other adapters also.If face any difficulty post me.

No comments: