This content has been marked as final.
Show 2 replies
-
1. Re: The socket problem on JMS
stephanenicoll Jun 13, 2003 10:00 AM (in response to platinum)Hello,
If you are using JMS inside JBoss, you can use the IN VM interceptor. For that use
"java:/ConnectionFactory" instead of "ConnectionFactory" to lookup the connection factory used to create JMS sessions.
If you aren't using JMS (i mean JMS client) inside JBoss then check that you explicitely close() your connection.
The pattern is as follows:
Lookup the facttory
create a connection
create a session
create a sender
send msgs
....
close sender
close session
close connection
(see the close() method) -
2. Re: The socket problem on JMS
platinum Jun 15, 2003 7:25 PM (in response to platinum)Hello.
Thank you for your reply.
I try your suggetion.
Regards.