You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

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.

When geronimo is started a default ActiveMQ Resource Adapter (RA) is available in the server as shown in the above figure. The portlet lists Connection Factory and Destination details for the Active MQ RA
(geronimo/activemq/1.1/car). This configuration contains a Connection Factory and two Queue's

  • DefaultActiveMQConnectionFactory
  • MDBTransferBeanOutQueue
  • SendReceiveQueue

This RA is deployed with server scope and hence visible for applications in the server.

A new JMS Resource Group can be created by clicking the link For ActiveMQ.

Now enter the details to create a new RA.

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

Once you enter the basic configuration details for RA and click Next the wizard moves to the next screen. You can now add Connection Factory and Destination to RA.

Click on Add Connection Factory to add Connection Factory types supported by the RA. The default ActiveMQ RA supports three ConnectionFactory types that are listed in the drop down box. Select the ConnectionFactory type you want to create. For e.g) QueueConnectionFactory and click Next

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

Enter details to create a new Queue Connection Factory.

Connection Factory Name - TestActiveMQQCF
Transaction Support - XA

Click Next and the wizard moves ot next screen where you can add other details to complete the RA. The portlet lists TestActiveMQQCF that we created in the previous step.

  • No labels