Hi,
I've been having some problems removing routes programmatically. My routes
use camels CBR pattern to route JMS messages. I remove them using the code:
context.stopRoute(routeIDString);
context.removeRoute(routeIDString);
Now the problem is not that the route is not removed it is, but
http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4557011.html
Sent from the Camel - Users mailing list archive at Nabble.com.
e in context:
http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4557040.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Wed, Jul 6, 2011 at 3:15 PM, Daniel Spaven wrote:
> Hi,
>
> I've been having some problems removing routes programmatically. My routes
> use camels CBR pattern to route JMS messages. I remove them using the code:
>
> context.stopRoute(routeIDString);
> context
t:
http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4557219.html
Sent from the Camel - Users mailing list archive at Nabble.com.
)
> http://fusesource.com
>
> Blog: http://opensourceknowledge.blogspot.com
> -
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4557219.html
> Sent from the Camel - Users mailing list archive at Nabble.c
I understand that it might be hard to debug from this class alone, so if you
want me to adapt the class and plug in the run-time values that are failing
in my tests I can do that tomorrow.
Dan
On Wed, Jul 6, 2011 at 11:25 PM, Daniel Spaven wrote:
> I understand that it might be hard to debug from this class alone, so if you
> want me to adapt the class and plug in the run-time values that are failing
> in my tests I can do that tomorrow.
>
> Dan
>
Yeah it would be nice with a runtime e
cipal Consultant
> FUSESource (a Progress Software Corporation subsidiary)
> http://fusesource.com
>
> Blog: http://opensourceknowledge.blogspot.com
> -----
> --
> View this message in context:
> http://camel.465427.n5.nabble.com
Hey chaps,
Just had another look at this and made some progress.
Now my routes were from JMS to JMS and not with two inputs.
However that did get me thinking because I was testing CBR routes consuming
from the same JMS topic. When CBR routes are consuming off different topics
it works fine. Here
Blog: http://opensourceknowledge.blogspot.com
-
--
View this message in context:
http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4561373.html
Sent from the Camel - Users mailing list archive at Nabble.com.
On Thu, Jul 7, 2011 at 2:56 PM, Daniel Spaven wrote:
> Hey chaps,
>
> Just had another look at this and made some progress.
>
> Now my routes were from JMS to JMS and not with two inputs.
>
> However that did get me thinking because I was testing CBR routes consuming
> from the same JMS topic. Whe
mmitter & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
-
--
View this message in context:
http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4561468.html
Sent from the Camel - Users mailing list archive at Nabble.com.
void configure() throws Exception {
>
>
> from("seda:foo?multipleConsumers=true").routeId("foo").to("log:foo").to("mock:result");
>
>
> from("seda:foo?multipleConsumers=true").routeId("bar").to("log:foo").to("mock:result");
> }
>};
>}
> }
>
> -
> -
> Ashwin Karpe
> Apache Camel Committer & Sr Principal Consultant
> FUSESource (a Progress Software Corporation subsidiary)
> http://fusesource.com
>
> Blog: http://opensourceknowledge.blogspot.com
> -
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p4561468.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
ew RouteBuilder() {
>> @Override
>> public void configure() throws Exception {
>>
>>
>> from("seda:foo?multipleConsumers=true").routeId("foo").to("log:foo").to("mock:result");
>>
>>
>> from
Claus,
Yes that's it. Here's the URI's of 2 routes I just tested and failed. So
Destinations different but consuming from the same topic.
Route 1
---
from(jmsComponent:topic:dansTopic)
to(activemq:topic:TMLP1)
to(activemq:topic:TMLP2)
to(activemq:topic:TMLP3)
to(activemq:topic:TMLP4)
Rou
Hi
I have reproduced the issue in camel-jms in an unit test. I will try
to see what can be done.
On Fri, Jul 8, 2011 at 11:37 AM, Daniel Spaven wrote:
> Claus,
>
> Yes that's it. Here's the URI's of 2 routes I just tested and failed. So
> Destinations different but consuming from the same topic.
Hi
Okay i have fixed the issue. I created a new ticket with a better
description of the real issue
https://issues.apache.org/jira/browse/CAMEL-4194
The fix will be in Camel 2.8. You are welcome to test with latest
source code from trunk or the 2.8-SNAPSHOT when its updated.
http://camel.apache.or
Okay that's nice to hear, I'll download when fixed.
Thanks!
On Fri, Jul 8, 2011 at 11:52 AM, Claus Ibsen wrote:
> Hi
>
> Okay i have fixed the issue. I created a new ticket with a better
> description of the real issue
> https://issues.apache.org/jira/browse/CAMEL-4194
>
> The fix will be in Ca
iew this message in context:
http://camel.465427.n5.nabble.com/Removing-routes-programmatically-tp4556741p5783160.html
Sent from the Camel - Users mailing list archive at Nabble.com.
20 matches
Mail list logo