Sir,
I think the problem is due to OS dependentence.
When I run my swiftmq client on windows, the onException(..)
was called as my expection. It seems that the Linux 2.4.2 + JVM from IBM
has some different properties. :)
Regards
yangyuexiang
yangyuexiang wrote:
>
> Sir,
>
> (1) I run my swiftmq CLIENT on Linux (2.4.2-2 ).
> (2)And the JVM is Java(TM) 2 Runtime Environment, Standard Edition
> (build 1.3.0)
> Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010329 (JIT
> enabled: jitc).
> (3) I run swiftmq SERVER on windows 98.
> (4) The property of "Keep-Alive Interval " of the JMS swiftlet is set
to
> 10 seconds.
> (5) I can send and receive normally.
> (6) I expected that when I pull out the cable, the onException()
method
> in the client program will be
> called after about 10 seconds. HOWEVER, this result is not
repeatable.
> Even the onException() is called,
> the time used is much more than 10 seconds.
Do you set the keep alive interval **exactly** like this:
swiftlet.sys$jms.listeners.plainsocket.keepalive.interval=10000
?
If you have a typo there, then the default of 60000 is used...
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/