Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 79422 invoked from network); 19 Apr 2006 13:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2006 13:06:23 -0000 Received: (qmail 27443 invoked by uid 500); 19 Apr 2006 13:06:17 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 27426 invoked by uid 500); 19 Apr 2006 13:06:16 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 27417 invoked by uid 99); 19 Apr 2006 13:06:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 06:06:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 06:06:14 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FWCNT-0002TQ-7b for activemq-users@geronimo.apache.org; Wed, 19 Apr 2006 06:05:52 -0700 Message-ID: <3987062.post@talk.nabble.com> Date: Wed, 19 Apr 2006 06:05:51 -0700 (PDT) From: ssozonoff To: activemq-users@geronimo.apache.org Subject: Long lasting transactions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: serge@sozonoff.com X-Nabble-From: ssozonoff X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, We need to send Messages to HTTP based clients. We also need to know if the HTTP client has dealt with the message or not. One idea would be to expose transaction commit and rollback over REST and the HTTP client would call commit once he had dealt with the message. In essence we are building some sort of an HTTP gateway. Due to the stateless nature of HTTP we also need to have a transaction timeout so that if the HTTP client shuts down, after the timeout periond the messages will be rolled back and placed in the queue again for redelivery. My question is what impact does potentialy long lasting transactions have on system resources. I guess this at least make pooling a little less effective? I have spent a little time looking at the large amount of different options that ActiveMQ offers. Axis, REST, Stomp etc... but somehow non of them seem to fit the build. For example we need to use selectors, one per HTTP client etc ... Thanks for any thoughts, Serge -- View this message in context: http://www.nabble.com/Long-lasting-transactions-t1474194.html#a3987062 Sent from the ActiveMQ - User forum at Nabble.com.