You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by ra...@spiral16.com on 2010/10/07 20:12:21 UTC

broker drops connection

Hello,

 

I am using C++ broker and .NET clients. Broker closes connection after 4
minutes if there is no traffic. I guess, it is due to the default heartbeat
settings. So, how increase heartbeat interval or to get rid of it at all.

 

Thank you,

Raimonds

 


Re: broker drops connection

Posted by Gregory Bayard <gr...@gmail.com>.
With Qpid 0.8 .NET client and 0.8 C++ broker, the connection drops after 4
minutes if you do not use the ConnectionTune to and call SetHeartbeatMax(0).
 Following that the connection permanently freezes after 10,000 messages
because it seems to be hard-coded into the .NET 0.8 client. In the QPID C#
libraries, you'll find a MessageSubscribe member function in the
ClientSession class with a call to MessageFlow(queue,
MessageCreditUnit.MESSAGE, 10000);  The limit can be replaced with -1 to
prevent the freeze.  I don't know how much of this is true with the 0.6
versions.  I would also like to ask if anyone knows why this limit is
hard-coded?

Thanks,
Greg

On Wed, Mar 23, 2011 at 3:04 PM, calvin <ca...@riva-networks.com>wrote:

> Hi Raimonds,
> Have you resolved the issue?  We're having the same problem with our QPID
> 0.6 broker and 0.6 .NET client for AMQP 0-10 client.
> Thanks,
> Calvin
>
>
> --
> View this message in context:
> http://apache-qpid-users.2158936.n2.nabble.com/broker-drops-connection-tp5612444p6201544.html
> Sent from the Apache Qpid users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>

RE: broker drops connection

Posted by calvin <ca...@riva-networks.com>.
Hi Raimonds,
Have you resolved the issue?  We're having the same problem with our QPID
0.6 broker and 0.6 .NET client for AMQP 0-10 client.
Thanks,
Calvin


--
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/broker-drops-connection-tp5612444p6201544.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


RE: broker drops connection

Posted by Steve Huston <sh...@riverace.com>.
Hi Raimonds,

> I am using C++ broker and .NET clients. Broker closes 
> connection after 4 minutes if there is no traffic. I guess, 
> it is due to the default heartbeat settings. So, how increase 
> heartbeat interval or to get rid of it at all.

Which Qpid version, platform, and which .NET client directory are you
working with?

-Steve

--
Steve Huston, Riverace Corporation
Total Lifecycle Support for Your Networked Applications
http://www.riverace.com


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org