activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Using message selector in C#
Date Mon, 11 Sep 2006 07:17:47 GMT
On 9/8/06, Alex Wu <alex.wu@cowaninsurancegroup.com> 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/

Mime
View raw message