-
1. Re: Using (IronJacamar) Resource Adapter for HornetQ
jbertram Jan 9, 2013 6:55 PM (in response to b.eckenfels)It is technically possible to deploy the HornetQ JCA RA without the messaging subsystem. To get the RA you can do one of the following:
- Download a 2.2.x distribution and use the lib/hornetq-ra.rar
- Download a 2.3.x distribution and build the RA using the examples/jms/hornetq-ra-rar
- Pull the desired release from https://github.com/hornetq/hornetq/tags and build it that way
Please note that client compatibility with HornetQ is very good so even old client versions won't have a problem with newer servers.
Once you've got the RA you can using the Iron Jacamar RAR info tool to generate a sample AS7 deployment descriptor and then add that to your standalone*.xml or domain.xml.
The only issue I think you'll have is that the HornetQ JCA RA doesn't support any admin objects for binding HornetQ JMS destinations in the local JNDI namespace (https://issues.jboss.org/browse/HORNETQ-908). However, you can work around this by using the JMS API javax.jms.Session.createQueue(String). If you choose this route keep in mind that the String passed to createQueue will be the underlying HornetQ name of the destination, not the JNDI entry.