Hi,
The command syntax is
Connection connection = new Connection(url);
connection.SetOption("heartbeat", 5);
connection.Open();
The mapping between C++ and C# is given in
http://qpid.apache.org/books/0.7/Programming-In-Apache-Qpid/pdf/Programming-In-Apache-Qpid.pdf
See section 5.2 for the Connection object.
Setting the heartbeat to 0 disables it.
-Chuck
----- "raimonds praude" <[email protected]> wrote:
> From: "raimonds praude" <[email protected]>
> To: [email protected]
> Sent: Thursday, October 7, 2010 2:12:21 PM GMT -05:00 US/Canada Eastern
> Subject: 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
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]