[jboss-user] [JBoss Messaging] - JMS Connection Pooling

Craig2007 do-not-reply at jboss.com
Wed Jan 10 09:31:27 EST 2007


Want to implement JMS Connection Pooling in our application ,as the time taken to create a JMS connection varies considerably.
If anyone came across good JMS connection pooling ,do shed some light on it.
I am using Jakarta common pool framework to create a JMS Connections.
Consider the below scenario
>From standalone java component, i want to send a JMS message to JBoss MOM.For that i get a connection from pooling framework .After sending the message,i return the connection object to the pooling framework,but that standalone java component did not return from the main method and it waits indefinitely for the connection object to get close. Is their any way around to solve this problem.
if i close the connection ,the main method returns and the program terminate normally.
I want a mechanism such that main method returns and terminate normally after sending a message and also at the same time ,i want to put back my live connection object to pooling framework.
Thanks in advance
Reply wud be appreciated



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

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



More information about the jboss-user mailing list