Great, I will add the routeId. Thanks for the quick help.
On Tue, Apr 26, 2011 at 10:28 AM, Joshua Watkins <
joshua.watk...@gamesys.co.uk> wrote:
> You are missing using the routeId. When you create your route you need to:
>
> from(uri + "?splitEntries=false&consumer.initialDelay=0").
>
You are missing using the routeId. When you create your route you need to:
from(uri + "?splitEntries=false&consumer.initialDelay=0").
marshal().rss().
to("mock:result").routeId("routeId");
Then when you remove the route you use the same routeId string.
I hope this
Hi all,
I have written a service bean which can add and remove Routes dynamically
and I'd like to know if my approach was "kosher" in terms of best practices.
It's not exactly pretty, but it does work. Here are the two classes:
@Component
public class RssRouter implements CamelContextAware {