Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

To configure JMS, the JMS Resources portlet , is available on the Geronimo Administration Console. From this portlet you can not only list available resources but also create new ones for ActiveMQ already available in Geronimo or for another JMS provider.

...

Now enter the details to create a new RA. We will create a new RA called TestJMSRATestJActiveMQRA.

Resource Group Name - TestActiveMQRA
ServerUrl - tcp://localhost:61616 [ Port on which Active MQ is available ]
UserName - defaultUser
Password - defaultPassword

...

In this screen you will enter details to Configure configure the Connection Factory.

Select QueueConnectionFactory from the drop down list and enter details to create a new Queue Connection Factory.

...

In the previous section we created a JMS Resource Group for ActiveMQ. We can also deploy other JMS Resource Adapters using the portlet and clicking on link For another JMS provider.

Image Added

For the RA to appear here it should be installed in geronimo repository. You can use the link Services Common Libs that appears in left pane of console to copy the RAR into the repository.

Image Added

Select the RAR file to be copied to repository and enter details Group,Artifact,Version,Type. Now when u click on link For another JMS provider you will see the RA you copied to repository in the drop down list. Select this RA and enter the following details

  • Basic Configuration Information
  • Connection Factory Information
  • Destination Information

These details depend on the RA and based on the deployment descriptor for RA the required details will appear as text boxes in the portlet. Once u enter all the details the RA can be deployed to the server.

In the above sections we saw how to create a RA for ActiveMQ and also for other JMS Providers using the portlet wizard. The wizard helps in creating the plan and provides a console interface to enter details for the geronimo deployment plan and deploying the plan to server.