[jboss-user] [JBoss Messaging] - JMS resource caching

2008-09-11 Thread jonroler
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?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176002#4176002

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176002
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - standalone client pooling of JMS resources

2008-09-01 Thread jonroler
I have a working standalone JBM 1.4 java client application that publishes 
messages to a JBoss Application Server running JBM.  It is a multithreaded 
application that will eventually produce (not receive) messages at a pretty 
high rate, so I will require some form of client-side caching/pooling of JMS 
connections/sessions/producers.  Does JBM provide any support for pooling of 
JMS resources in a standalone java client?  If JBM doesn't have any client-side 
JMS resource pooling support, can you recommend any other libraries that might 
be applicable?  I'd rather not have to write this myself.

I doubt this affects the answer, but I'll also mention (just in case) that my 
standalone java client also writes to the database and will need to use XA 
transactions so that database writes and the publishing of JMS messages are 
atomic.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173513#4173513

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173513
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user