qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Jansen <cliffjan...@gmail.com>
Subject Re: c# automatic closed session due to timeout?
Date Thu, 08 Sep 2011 15:45:12 GMT
Regrettably, the client you are using has not been maintained for a
very long time and has been removed from the qpid source tree.

Please see


for additional context regarding this old client and recommended
alternatives for .NET development.

Let us know if you have further questions.

On Thu, Sep 8, 2011 at 6:13 AM, Gang, Litao <litao.gang@jpmorgan.com> wrote:
> Hello guys
> I ran into a problem like this, it is a c# client. Sending  the first message ok, all
was fine.  Then after 10 minutes, an closedSessionException is thrown when the 2nd message
is being sent.   My initialization codes as follows,
>         m_client = new Client();
>         m_client.Connect(host, port, virtualhost, username,  password);
>         m_session = m_client.CreateSession(5000000);
> Message is just simply payload, nothing special.  I assume if I put a large integer
in createSession(.) method (BTW, it is in seconds), then the session won't get closed after
some inactivity.   I am using version 0.10 .
> Thank you very much for your help!
> Best regards!
> -LG
> This email is confidential and subject to important disclaimers and
> conditions including on offers for the purchase or sale of
> securities, accuracy and completeness of information, viruses,
> confidentiality, legal privilege, and legal entity disclaimers,
> available at http://www.jpmorgan.com/pages/disclosures/email.

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

View raw message