Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 12769 invoked from network); 10 Aug 2009 17:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Aug 2009 17:31:13 -0000 Received: (qmail 99981 invoked by uid 500); 10 Aug 2009 17:31:20 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 99945 invoked by uid 500); 10 Aug 2009 17:31:20 -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 99933 invoked by uid 99); 10 Aug 2009 17:31:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2009 17:31:20 +0000 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 (nike.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; Mon, 10 Aug 2009 17:31:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MaYht-0007YH-HT for users@activemq.apache.org; Mon, 10 Aug 2009 10:30:49 -0700 Message-ID: <24903988.post@talk.nabble.com> Date: Mon, 10 Aug 2009 10:30:49 -0700 (PDT) From: Eric Bouer To: users@activemq.apache.org Subject: Getting UserName/ ClientID from Advisory. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ericbouer@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hello. I'm using ActiveMQ5.2 in Camel2. I'm consuming a TOPIC.Consumer advisory and no data structure in the advisory message I get contains the username or the advisory name. How, if at all, can I get those from the advisory ? Other properties will also be fine. This is how I set up the connection that I'd like to get an advisory on: ActiveMQConnectionFactory activeMQConnectionFactory = new ActiveMQConnectionFactory(MQURI); activeMQConnectionFactory.setClientIDPrefix("MyName"); activeMQConnectionFactory.setUserName("MyUserName"); getCamelcontext().addComponent("AMQComponent1", ActiveMQComponent.jmsComponent(activeMQConnectionFactory)); Many thanks. -- View this message in context: http://www.nabble.com/Getting-UserName--ClientID-from-Advisory.-tp24903988p24903988.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.