Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 52993 invoked from network); 11 Sep 2006 15:48:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2006 15:48:04 -0000 Received: (qmail 63561 invoked by uid 500); 11 Sep 2006 15:48:04 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 63541 invoked by uid 500); 11 Sep 2006 15:48:03 -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 63532 invoked by uid 99); 11 Sep 2006 15:48:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 08:48:03 -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; Mon, 11 Sep 2006 08:48:02 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GMo0a-0001gx-TW for activemq-users@geronimo.apache.org; Mon, 11 Sep 2006 08:47:41 -0700 Message-ID: <6249413.post@talk.nabble.com> Date: Mon, 11 Sep 2006 08:47:40 -0700 (PDT) From: Alex Wu To: activemq-users@geronimo.apache.org Subject: Re: Using message selector in C# In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: alex.wu@cowaninsurancegroup.com References: <6216517.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thank you very much! Alex James.Strachan wrote: > > On 9/8/06, Alex Wu wrote: >> >> Hi, >> >> I am looking for a way to use message selector in C#. >> >> When using Java, I can set message selector in depolyment decriptor(J2EE) >> or >> Spring's ApplicationContext file. Are there any ways to do the same thing >> when I use C#? > > Specify the selector on the CreateConsumer method on ISession in the NMS > API > > http://incubator.apache.org/activemq/nms/ndoc/ActiveMQ.Session.CreateConsumer_overloads.html > > If you use Spring.Net you could maybe create this by dependency injection > > -- > > James > ------- > http://radio.weblogs.com/0112098/ > > -- View this message in context: http://www.nabble.com/Using-message-selector-in-C--tf2241385.html#a6249413 Sent from the ActiveMQ - User forum at Nabble.com.