Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 D7897E918 for ; Mon, 27 May 2013 12:21:06 +0000 (UTC) Received: (qmail 17590 invoked by uid 500); 27 May 2013 12:21:06 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17302 invoked by uid 500); 27 May 2013 12:21:02 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 17252 invoked by uid 99); 27 May 2013 12:21:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 12:21:00 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=HTML_MESSAGE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of suonayi2006@163.com designates 220.181.13.121 as permitted sender) Received: from [220.181.13.121] (HELO m13-121.163.com) (220.181.13.121) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 12:20:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Subject:In-Reply-To: References:Content-Type:MIME-Version:Message-ID; bh=JrgEeb3M6wpA pKRlRAJNCxlHVvyFW9vEhLPdAOWPLts=; b=CVdYpBKGZUxasLhwWF1hdqw0GKfO nnmCPL9PoSBrZItenluexTAd8XYuvBUGMidFrtrtYMS/02IiotoEw5Uy5IOU7L4o 8K22/J6TRmitM0b0xYnoSO9syOOoe2RiO3VuPPhI3neHQLN8tH9YiYQpXDjJ63tn 5B9QXfkf0ySAwLA= Received: from suonayi2006$163.com ( [114.249.240.2] ) by ajax-webmail-wmsvr121 (Coremail) ; Mon, 27 May 2013 20:20:29 +0800 (CST) X-Originating-IP: [114.249.240.2] Date: Mon, 27 May 2013 20:20:29 +0800 (CST) From: SuoNayi To: users@activemq.apache.org Subject: Re:activemq transaction X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20130424(22035.5339.5325) Copyright (c) 2002-2013 www.mailtech.cn 163com In-Reply-To: <1369644646606-4667500.post@n4.nabble.com> References: <1369644646606-4667500.post@n4.nabble.com> X-CM-CTRLDATA: JmtxxWZvb3Rlcl9odG09MTQyNjo4MQ== Content-Type: multipart/alternative; boundary="----=_Part_231880_930136985.1369657229034" MIME-Version: 1.0 Message-ID: <56a9af8a.f640.13ee5eebeea.Coremail.suonayi2006@163.com> X-CM-TRANSID: ecGowEB5_UWOT6NR2ZZMAA--.19916W X-CM-SenderInfo: xvxr0td1lsiiqw6rljoofrz/1tbiMwgqGlEAEog7QAABs6 X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_231880_930136985.1369657229034 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit No,pending messages will be held in memory before the transaction is committed. If your commit on session is failed and the broker is restarted, pending messages will be lost and you can issue commit on the session anymore. At 2013-05-27 16:50:46,bizcenter wrote: >Forgive my poor english. > >In JMS transaction, messages sent will be persisted( stored in db) before >session.commit() is fired? > >Assume that the session.commit() failed, then the broker is stopped : > 1. where are messages sent? > 2. The broker starts in the future, if i can do session.commit() >operation? > > >Thansk! > > > > > >-- >View this message in context: http://activemq.2283324.n4.nabble.com/activemq-transaction-tp4667500.html >Sent from the ActiveMQ - User mailing list archive at Nabble.com. ------=_Part_231880_930136985.1369657229034--