Re: Activemq dynamic endpoint configuration

2011-10-03 Thread Claus Ibsen
: >> >> >> >> >> >> > On Mon, Sep 26, 2011 at 6:05 PM, kal2420 <[hidden email]> wrote: >> >> >> >> Thanks Claus, >> >> >> >> >> >> >> >>     I got busy with work, and I am just getting

Re: Activemq dynamic endpoint configuration

2011-10-03 Thread kal2420
dpoint.setSelector(selector); > >> >> >> > >> >> > > >> >> > So you have a route with that particular endpoint > >> >> > from(endpoint).to("xxx") > >> >> > > >> >> >

Re: Activemq dynamic endpoint configuration

2011-09-30 Thread Claus Ibsen
s correct: >> >> >> >> >> >> // once all routes are up and running >> >> >> // set selector on jms endpoint >> >> >> CamelContext ctx = getContext(); >> >> >> JmsEndpoint end

Re: Activemq dynamic endpoint configuration

2011-09-29 Thread kal2420
s endpoint > >> >> CamelContext ctx = getContext(); > >> >> JmsEndpoint endpoint = > >> >> ctx.getEndpoint("activemq://queue:test-1",JmsEndpoint.class); > >> >> // String selector = "userid='test12'"; // also

Re: Activemq dynamic endpoint configuration

2011-09-27 Thread Claus Ibsen
gt;>  // String selector = "userid='test12'";  // also tried with %3D url >> >> format >> >> String selector = "userid IN ('test12' , 'terst234'); >> >>  endpoint.setSelector(selector); >> >> >> > &

Re: Activemq dynamic endpoint configuration

2011-09-27 Thread kal2420
27;); > >> endpoint.setSelector(selector); > >> > > > > So you have a route with that particular endpoint > > from(endpoint).to("xxx") > > > > > > The selector should use a SQL like syntax. I actually do not know if > &g

Re: Activemq dynamic endpoint configuration

2011-09-27 Thread Claus Ibsen
selector should use a SQL like syntax. I actually do not know if > ActiveMQ has an logging to WARN/ERROR level > if the syntax is invalid. > > > >> Issue:  I am seeing all messages being processed, while i only want to >> process messages where i have userid header value

Re: Activemq dynamic endpoint configuration

2011-09-27 Thread Claus Ibsen
est12' or > 'terst234' > > Thanks > Kal > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Activemq-dynamic-endpoint-configuration-tp4749853p4841926.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Cla

Re: Activemq dynamic endpoint configuration

2011-09-26 Thread kal2420
selector = "userid IN ('test12' , 'terst234'); endpoint.setSelector(selector); Issue: I am seeing all messages being processed, while i only want to process messages where i have userid header value set to 'test12' or 'terst234' Thanks Kal -- View this messa

RE: Activemq dynamic endpoint configuration

2011-09-06 Thread kal2420
I will try out this approach and see how it goes. Kal -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-dynamic-endpoint-configuration-tp4749853p4776516.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Activemq dynamic endpoint configuration

2011-09-02 Thread Mick Knutson
ate based on > > “from(“activemq:queue..”)” ? ex: polled or scheduled endpoint. > > > > Would the selector uri get re-created on every read? does camel just > change > > endpoint configuration or re-create a new endpoint ? > > > > If you have a good examp

Re: Activemq dynamic endpoint configuration

2011-09-01 Thread Claus Ibsen
ration or re-create a new endpoint ? > > If you have a good example on how to do dynamic selector with > camel/activemq, I would love to see it. > > I really appreciate all your help. > > Thanks > Kal > > > -- > View this message in context: > ht

RE: Activemq dynamic endpoint configuration

2011-09-01 Thread Mathieu Lalonde
t; Date: Thu, 1 Sep 2011 16:57:08 -0700 > From: kalpi...@cisco.com > To: users@camel.apache.org > Subject: Re: Activemq dynamic endpoint configuration > > Ashwin, > > Thanks, I agree this is a bad approach. I am a bit confused about how > often configure() method is invoked

Re: Activemq dynamic endpoint configuration

2011-09-01 Thread kal2420
od example on how to do dynamic selector with camel/activemq, I would love to see it. I really appreciate all your help. Thanks Kal -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-dynamic-endpoint-configuration-tp4749853p4760387.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Activemq dynamic endpoint configuration

2011-09-01 Thread Ashwin Karpe
Software Corporation subsidiary) http://fusesource.com Blog: http://opensourceknowledge.blogspot.com - -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-dynamic-endpoint-configuration-tp4749853p4758889.html Sent from t

Activemq dynamic endpoint configuration

2011-08-30 Thread kal2420
oint me to a good unittest or documentation that would help with dynamic selector uri and with check to see if ready to process new message. Thanks in advance for all your help. Kal -- View this message in context: http://camel.465427.n5.nabble.com/Activemq-dynamic-endpoint-con