Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 71955 invoked from network); 23 May 2007 16:35:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 May 2007 16:35:25 -0000 Received: (qmail 6294 invoked by uid 500); 23 May 2007 16:35:26 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 6274 invoked by uid 500); 23 May 2007 16:35:26 -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 6265 invoked by uid 99); 23 May 2007 16:35:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2007 09:35:26 -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; Wed, 23 May 2007 09:35:18 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Hqtne-0008Ux-4p for users@activemq.apache.org; Wed, 23 May 2007 09:34:58 -0700 Message-ID: <10767749.post@talk.nabble.com> Date: Wed, 23 May 2007 09:34:58 -0700 (PDT) From: sbuberl To: users@activemq.apache.org Subject: Posting to a virtual topic's physical queue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sbuberl@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi. My server posts live highway traffic accidents and events to topics, but most messages are only updates on existing event data. So I set up my server to monitor when a client logs in/out and sends them all live events in one message. I can't use durable subscriptions on topics because that would send them lots of old data as well when my subscribers only want the live data. I successfull intergrated activeMQ with JBoss and I have beans monitoring when a client logs in/out and when they create a consumer on the event topic with my database. All updates get sent to the following virtual topic: The problem is: how can I retrieve the queue to send to with JBoss? The Jboss Integration example suggests that I'd have to bind all possible queues to JNDI, but the number of clients will be constantly growing. Is there a simpler way? (And I tried creating each queue of the form Consumers.username.ATIS when I send the refresh message but the beans listeneing to the virtual topic never received it). Any help would be greatly appreciated. -- View this message in context: http://www.nabble.com/Posting-to-a-virtual-topic%27s-physical-queue-tf3805152s2354.html#a10767749 Sent from the ActiveMQ - User mailing list archive at Nabble.com.