Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 14912 invoked from network); 9 Feb 2009 10:45:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2009 10:45:48 -0000 Received: (qmail 47989 invoked by uid 500); 9 Feb 2009 10:45:47 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 47574 invoked by uid 500); 9 Feb 2009 10:45:47 -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 47563 invoked by uid 99); 9 Feb 2009 10:45:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 02:45:47 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gary.tully@gmail.com designates 209.85.128.190 as permitted sender) Received: from [209.85.128.190] (HELO fk-out-0910.google.com) (209.85.128.190) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 10:45:38 +0000 Received: by fk-out-0910.google.com with SMTP id z22so1687042fkz.6 for ; Mon, 09 Feb 2009 02:45:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AIFg0yIZTdoN89dbJiAXuX9dnGyRUxMsOnjv7Wwm/FY=; b=FbWWZvpaagMAIr4OH2YYNohqhyKYHKr80KUCSxye5VK84Kc40hZPa6anFCBGAtA9Up Sb3mCxTuDCriu1h92V9j0G37v2DsK+hC57O6Ppb69cLfwNdsmYsgQ8n+8m8JSZi3quSR AN2Lcft+bIkaTI9HqIGZGDPk5wzpYGkwwP3SU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=tgAmXwoleXTgeO2WTT/sI7TCjIHyHP1KrKjSzGq5NxJaomoiTLJzoFs1Rb7BLMxU5L Ik0FUYt5LB31zcUiG0VeiwFBWq7QEmSYXzicf5TOZfgwDy1oHcy6kHJbhTCCp8uH37HP VhskAu25N7MInuomiY1ILFBajGqRnl7uMG/sU= MIME-Version: 1.0 Received: by 10.181.199.19 with SMTP id b19mr1771174bkq.191.1234176316825; Mon, 09 Feb 2009 02:45:16 -0800 (PST) In-Reply-To: <21895847.post@talk.nabble.com> References: <21438163.post@talk.nabble.com> <21440240.post@talk.nabble.com> <3a73c17c0901131024x4add14b5v220dd60ed2cb64d3@mail.gmail.com> <21442857.post@talk.nabble.com> <7b3355cb0901131143p777046ecte017761cb4bcc794@mail.gmail.com> <21443338.post@talk.nabble.com> <5a56ce1b0901301602o553c4b96k72455fa2034287e4@mail.gmail.com> <5a56ce1b0902051041g518c3c2q1a05895844f2b234@mail.gmail.com> <21895847.post@talk.nabble.com> Date: Mon, 9 Feb 2009 10:45:16 +0000 Message-ID: <3a73c17c0902090245i22ae418ct7dc7c3b29cfe6c8@mail.gmail.com> Subject: Re: Q Consumers stop receiving messages From: Gary Tully To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jonnie, in transacted mode, who is managing the transaction demarcation? In other words, where is the session.commit() call? 2009/2/8 sweetjonnie : > > at least one in the thread mentioned persistence and i wonder if my problem > is related. > > i am newbie/retarded and cannot get my embedded broker to deliver transacted > messages to my async client in my ActiveMQ 5.2 environment. > > connection.createSession(false, Session.AUTO_ACKNOWLEDGE) works: message is > delivered. > connection.createSession(true, Session.SESSION_TRANSACTED) fails: message is > not delivered although no errors appear. > > When a transacted session is created, the bad behavior is detected > regardless of whether amqPersistenceAdapter or journaledJDBC is specified as > the persistence method. > > Would someone be willing to take a look at the following excerpts and tell > me if they spot an error (and if so, what it is)? I thank all for their > time. > > What follows are the contents of two configuration files: > (1) application configuration: > > class="org.apache.activemq.xbean.BrokerFactoryBean"> > > > > > class="org.apache.activemq.ActiveMQConnectionFactory" > depends-on="broker"> > > > > > class="org.apache.activemq.command.ActiveMQQueue"> > > > > > (2) the configuration file above references QueueConfiguration.xml which is > listed below: > > class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> > > > classpath:com.indigententerprises.configuration.internalqueuing.properties > > > > class="org.apache.derby.jdbc.EmbeddedDataSource"> > > > > > > brokerName="localhost" > dataDirectory="${brokerdirectory}" > persistent="true"> > > > > dataSource="#derby-ds"/> > > > > > > > -- > View this message in context: http://www.nabble.com/Q-Consumers-stop-receiving-messages-tp21438163p21895847.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source SOA http://FUSESource.com