I have both a JBM multithreaded producer application and a multithreaded JBM consumer application that each need to perform a distributed transaction (JMS and JDBC--one sends messages and writes stuff to the db, and the other consumes messages and writes to the db). They are both standalone java applications that do not run within the JBoss server.
I would like to be able to cache JMS connection/session/consumer/producer objects in both the producer and the consumer application. The ActiveMQ projects seems to recommend using Jencks for this. Does JBoss provide any facilities for this? The Jencks documentation appears to be oriented around activemq--will Jencks work with JBM?