Cool! I've updated updated my local NMS library and am currently running a
test. I'll let you know in a few hours how it turns out.
Thanks,
Bryan
On Wed, Sep 10, 2008 at 12:48 AM, Jim Gomes <e.semog@gmail.com> wrote:
> FYI, the NMS trunk now has the keep alive support implemented. You can
> turn
> it on with the URI parameter "wireFormat.MaxInactivityDuration=nnnn" and
> "wireFormat.MaxInactivityDurationInitialDelay=nnnn" where 'n' equals the
> number of milliseconds. The initial delay option is optional and not
> required to be used at the same time. It should operate just like the Java
> client. I observed that the server will send a KeepAliveInfo command to
> the
> client periodically. The client then responds back. This should keep the
> socket connection alive even when no messages are flowing. I would be
> willing to bet that this is what the two ActiveMQ servers are doing to each
> other, which is why that solution worked for you.
>
> Best,
> Jim
>
>
|