Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B4F67CDF for ; Thu, 8 Sep 2011 15:45:39 +0000 (UTC) Received: (qmail 83261 invoked by uid 500); 8 Sep 2011 15:45:39 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 83228 invoked by uid 500); 8 Sep 2011 15:45:38 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 83220 invoked by uid 99); 8 Sep 2011 15:45:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 15:45:38 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cliffjansen@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-ww0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Sep 2011 15:45:32 +0000 Received: by wwe6 with SMTP id 6so9908wwe.33 for ; Thu, 08 Sep 2011 08:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=d4SaXYmULyfynYU69dOFhmulGbYEOARQ22Hkvw75Mp0=; b=dFDD6k/LypNjARVxDGd852+b9lEbL022/CVJ8voB/oqzXxTpjCTXlyqzctZkNdly3X ELZBXoD2JbPpAYyh51CQh8WXyC/aFAT/2KhWgIFKTOV9MUv+lWsS0DSlTavO89XGoEfY zNwKgSmzpX3cKMxKOddULtVmYH170KFFqryuA= MIME-Version: 1.0 Received: by 10.216.183.202 with SMTP id q52mr861064wem.64.1315496712272; Thu, 08 Sep 2011 08:45:12 -0700 (PDT) Received: by 10.216.229.71 with HTTP; Thu, 8 Sep 2011 08:45:12 -0700 (PDT) In-Reply-To: <621F5B190D7FF3499825E37184F16F3E19373FADF4@EMASC203VS01.exchad.jpmchase.net> References: <621F5B190D7FF3499825E37184F16F3E19373FADF4@EMASC203VS01.exchad.jpmchase.net> Date: Thu, 8 Sep 2011 08:45:12 -0700 Message-ID: Subject: Re: c# automatic closed session due to timeout? From: Cliff Jansen To: users@qpid.apache.org Cc: litao.gang@jpmorgan.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 http://apache-qpid-users.2158936.n2.nabble.com/c-topic-publisher-and-list= ener-sessions-dropped-td6272182.html 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 wrote= : > Hello guys > > I ran into a problem like this, it is a c# client. Sending =A0the first m= essage ok, all was fine. =A0Then after 10 minutes, an closedSessionExceptio= n is thrown when the 2nd message is being sent. =A0 My initialization codes= as follows, > > =A0 =A0 =A0 =A0 m_client =3D new Client(); > =A0 =A0 =A0 =A0 m_client.Connect(host, port, virtualhost, username, =A0pa= ssword); > =A0 =A0 =A0 =A0 m_session =3D m_client.CreateSession(5000000); > > Message is just simply payload, nothing special. =A0I assume if I put a l= arge integer in createSession(.) method (BTW, it is in seconds), then the s= ession won't get closed after some inactivity. =A0 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