On Mon, Jan 20, 2014 at 6:07 PM, anjibman <amulep...@telligen.org> wrote: > Hi All, > > Is it must to end camel route with to()? I have route which put data to > database and I have a class with method with save operation. Can I just do > like > > from(fromUri) > ......... > .bean(myHibernateOperationsImpl, "mySaveMethod"); > > Thanks, > Anjib >
Yes you can do that. Only requirement is that a route must have at least 1 node after the from. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Ending-camel-route-tp5746256.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io