There are some use cases: If you take a look at the unit tests in camel, you will find we leverage the direct component to send the request to the camel context to test the route. If you have a big route, you can use the direct component to break it to serval sub route, it can make the route more readable and testable.
-- 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 (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On Tuesday, February 5, 2013 at 5:42 AM, Joe San wrote: > Camel users, > > I came across the direct component. As I understand that this component is > used to tie routes together in the same camel context, I'm not able to > think of any practical use cases. Could anyone please let me know of a > practical example where the direct component would be a good fit? > > Regards, > Jothi >