[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-541 - Multiple connections on a single threa
clebert.suconic@jboss.com
do-not-reply at jboss.com
Fri Sep 15 01:57:34 EDT 2006
Just confirmed:
If changed JMSRemotingConnection::start like this
|
| public static int count = 1;
|
| ....
|
|
| public void start() throws Throwable
| {
| // Enable client pinging. Server leasing is enabled separately on the server side
|
| Map config = new HashMap();
| config.put(Client.ENABLE_LEASE, String.valueOf(clientPing));
| config.put("clientName", "connection"+(count++));
|
| .......
|
The leasing always works
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971841#3971841
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971841
More information about the jboss-dev-forums
mailing list