[jboss-user] [JBoss Messaging] - Best practice for managing connections in JMS Publishers

sonicfab do-not-reply at jboss.com
Wed Jun 18 05:51:03 EDT 2008


Hi all.
Could I please get some pointers on best practices for managing connections in JMS publishers that send messages to JBoss Messaging ?
I read on the Wiki that the JCA-managed connection factory caches connections, so is it ok to simply open and close a connection for each message ?
Or should the publisher manage a single connection and implement the failsafe logic in case the TCP/IP connection is lost for various reasons like socket timeout, network down, server down, etc... ? Any examples or links to solutions in this case ?
Thanks in advance.


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158924



More information about the jboss-user mailing list