|
| public Session createSession(boolean transacted, int acknowledgeMode) throws
JMSException
| {
| if (closed)
| throw new IllegalStateException("The connection is closed");
| checkClientID();
|
| if (transacted)
| acknowledgeMode = 0;
| Session session = new SpySession(this, transacted, acknowledgeMode, false);
|
| //add the new session to the createdSessions list
| synchronized (createdSessions)
| {
| createdSessions.add(session);
| }
|
| return session;
| }
|
The checkClientID() is the only part that does any work. It contacts the server to
get the next client id.
If this is taking 20 seconds, your network connection is fscked,
my first guess would be a dodgy DNS server.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841607#3841607
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841607
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user