On Mon, Apr 25, 2011 at 8:03 AM, Danushka Menikkumbura
<[email protected]> wrote:
> Hi,
>
> I get the following warning message on the client side for each client call
> i make.
>
> [2011-04-25 13:25:10,177]  WARN
> {org.apache.qpid.transport.ClientDelegate} -  Ignoring the idle
> timeout 120 set by the connection, using the brokers max value 0

The default value for the C++ broker is 120 while the Java broker is zero.
The Java client wants to support heartbeat by default, hence the
default value of 120.
Heartbeats allows a client to detect a wedged broker and failover accordingly.

If the heartbeats are disabled, the user should know about it, as it
could be a configuration error etc..
It is infact a warning that the user should pay attention to, hence
it's set at WARN level.

> [2011-04-25 13:25:10,178]  WARN
> {org.apache.qpid.transport.SessionDelegate} -  CLOSED:
> [ssn:"10bbf39e-3676-4205-a713-789b3a377cf3"]

I guess this was put there (Rafi can correct me if I am wrong) to
easily figure out if a session was closed or detached.
It is definitely useful for debugging issues, but perhaps we should
mark it as INFO rather than WARN.

> The reason for the first warning is that the default heartbeat value in
> client properties is 120 whereas the default min and max heartbeat values of
> a connection are 0. And it checks if the heartbeat value lies between the
> min and max.
>
> I do not quite understand the reason for the second warning. It just logs
> this warning in SessionDelegate.closed.
>
> Could you please tell me how to get rid of these warning?.
>
> Thanks,
> Danushka
>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to