Re: invoking camel route

2013-07-19 Thread Willem jiang
If you want to invoke the routeļ¼Œ you still need to send a message to the route, even the message body and header are empty. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com

invoking camel route

2013-07-18 Thread Tarun Kumar
Hi, I want to invoke camel route from java code. CamelContext doesn't seem to have any method to invoke route. Here is what my code looks like: @Autowired private CamelContext cc; public void testMethod() { System.out.println(cc.getRouteStatus(route1)); // prints true // how to invoke

Re: invoking camel route

2013-07-18 Thread Claus Ibsen
Hi See this page http://camel.apache.org/walk-through-an-example.html You can use a producer template to send a message to a Camel route from java code. On Thu, Jul 18, 2013 at 5:58 PM, Tarun Kumar agrawal.taru...@gmail.com wrote: Hi, I want to invoke camel route from java code.

Re: invoking camel route

2013-07-18 Thread Tarun Kumar
Hi Claus, My camelContext has 1 route. From testMethod, i dont want to send any body or headers. i just want to invoke route1 from this method. On Thu, Jul 18, 2013 at 9:33 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi See this page http://camel.apache.org/walk-through-an-example.html

Invoking camel route using values in database table.

2013-05-05 Thread pbs
for going about it. Kindly let me know in case you want me to elaborate further. Many thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/Invoking-camel-route-using-values-in-database-table-tp5732029.html Sent from the Camel - Users mailing list archive