A connection factory is an object used to create connections to the provider.
To get a working connection factory, you need to add a loader, pick the factory class and select the ActiveMQ plugin.
-
On the previous step, we configured a JMS session and added a JMS provider to it.
-
Click Edit on the toolbar.
-
Open the Loader drop-down list.
-
Select ActiveMQ-5.x.x.
-
Open the Class drop-down list.
-
Select org.apache.activemq.ActiveMQXAConnectionFactory.
-
Open the Plug In drop-down list.
-
Select ActiveMQ.
-
Click Apply.
-
Click OK.
The modified session is now available in the HermesJMS manager.