emq/browse/CAMEL-2109
>
> Willem
>
>
-
Ben - Senior Consultant
using SMX 3.3.1/Camel 2.1
--
View this message in context:
http://old.nabble.com/start-stop-routes-programmatically-tp26781725p26798471.html
Sent from the Camel - Users mailing list archive at Nabble.com.
s is what I'm looking for...
setRouteName("InboundRoute").from("activemq:queue1").to("activemq:queue2");
setRouteName("ProcessingRoute").from("activemq:queue2").to("activemq:queue3");
thanks in advance...
-
Ben - Senior Consultant
using SMX 3.3.1/Camel 2.0
--
View this message in context:
http://old.nabble.com/start-stop-routes-programmatically-tp26781725p26781725.html
Sent from the Camel - Users mailing list archive at Nabble.com.
guess I could use this name to identify a route and then call
>>> stop()/start() on it...but this seems like a very indirect approach to
>>> identify it? Am I missing something?
>>>
>>> What I'd like to do is give a route an explicit name that can be
>>&g
help, but am not sure how to use it...
something along these lines is what I'm looking for...
setRouteName("InboundRoute").from("activemq:queue1").to("activemq:queue2");
setRouteName("ProcessingRoute").from("activemq:queue2").to("activemq:queue3"
;).from("activemq:queue1").to("activemq:queue2");
>
> setRouteName("ProcessingRoute").from("activemq:queue2").to("activemq:queue3");
>
> thanks in advance...
>
>
>
>
>
>
> -
> Ben - Senior Consultant
> using SMX 3.3.1/Camel 2.0
> --
> View this message in context:
> http://old.nabble.com/start-stop-routes-programmatically-tp26781725p26781725.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
--
Cheers,
Jon
Camel in Action: http://manning.com/ibsen
Blog: http://janstey.blogspot.com
Yes, supporting to set the route name would be very useful when you want
manage the route states from JMS or API.
I just created a JIRA[1] for it.
[1] https://issues.apache.org/activemq/browse/CAMEL-2290
Willem
boday wrote:
I see that Camel 2.1 now support starting/stopping routes via JMX/AP
nes is what I'm looking for...
setRouteName("InboundRoute").from("activemq:queue1").to("activemq:queue2");
setRouteName("ProcessingRoute").from("activemq:queue2").to("activemq:queue3");
thanks in advance...
-
Ben - Senio