This content has been marked as final.
Show 3 replies
-
1. Re: Can not find a free port for use
timfox Jun 21, 2006 2:59 AM (in response to jksmartt)Creating connections is (relatively) a very slow process, so you should avoid creating them every time you want to check a message (it's an anti-pattern creating a connection every time).
Also your call to session.close() is redundant since you're calling conn.close() which will close the session too. -
2. Re: Can not find a free port for use
jksmartt Jun 21, 2006 4:46 PM (in response to jksmartt)Yes, that was the problem. I am using the JBoss Messenging within a Portlet so I set the TopicConnection into the PortletSession and now reuse it over and over within that session.
Thx! -
3. Re: Can not find a free port for use
timfox Jun 24, 2006 6:53 AM (in response to jksmartt)Also, I have changed the code so that less callback servers wil be created. This means we will be able to support more concurrent open jms connections on the client side.
This will be available in RC3