Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 55568 invoked from network); 18 May 2007 12:01:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 May 2007 12:01:20 -0000 Received: (qmail 97444 invoked by uid 500); 18 May 2007 12:01:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 97393 invoked by uid 500); 18 May 2007 12:01:25 -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 97383 invoked by uid 99); 18 May 2007 12:01:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 05:01:24 -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 (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 05:01:18 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Hp18j-0007Cv-J1 for users@activemq.apache.org; Fri, 18 May 2007 05:00:57 -0700 Message-ID: <10680807.post@talk.nabble.com> Date: Fri, 18 May 2007 05:00:57 -0700 (PDT) From: Gustavo Lanna To: users@activemq.apache.org Subject: Re: Messages for disconnected client In-Reply-To: <2e23d1d20705172114n16eb9002ib1b6ea623d7632fc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gustavo.dev@gmail.com References: <10669498.post@talk.nabble.com> <10671885.post@talk.nabble.com> <2e23d1d20705172114n16eb9002ib1b6ea623d7632fc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Huum !! Thank you... I will try this !! David Budworth-3 wrote: > > temp queues are discarded when the creating session closes (goes away, > crashes etc) > > also, if you want message to not be received when a client isn't there, > you > could always use topics > > > On 5/17/07, Gustavo Lanna wrote: >> >> >> Right, but if client doesn't connect and others services send him >> messages, >> his queue grows and the server crashes. I wish the ActiveMQ server to >> remove >> or discard the messages !! >> >> >> James.Strachan wrote: >> > >> > You could use a temporary queue for each client; then all messages are >> > removed when the client disconnects >> > >> > On 5/17/07, Gustavo Lanna wrote: >> >> >> >> Hi, >> >> >> >> How to configure ActiveMQ to discard/remove messages for disconnected >> >> clients. If I send a message to queue that has no clients listening, >> when >> >> a >> >> client connect to ActiveMQ his receive a message that I sent. I would >> >> like >> >> that the ActiveMQ delete the message if there is not client >> >> listening/connected. >> >> >> >> Thanks. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Messages-for-disconnected-client-tf3773500s2354.html#a10669498 >> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > James >> > ------- >> > http://macstrac.blogspot.com/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Messages-for-disconnected-client-tf3773500s2354.html#a10671885 >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Messages-for-disconnected-client-tf3773500s2354.html#a10680807 Sent from the ActiveMQ - User mailing list archive at Nabble.com.