Hi Hadrian,
Not sure if you recall, but we had discussed a similar idea about 8-10
months ago when I was on a consulting gig where we were trying to do
something similar (not exactly components, but black boxed subroutes) so
that we could do something like
from(route:blackboxedroute1)
.to(route:blackboxedroute2);
where "route:..." was a pointer to an encapsulated route and would
instantiate the route on demand.
Now that I think about it it could be easily done with a simple
wrapper/proxy (component, if absolutely necessary) that could instantiate an
embedded route on demand and then proxy out from the more coarse-grained
route definition as shown above.
I dropped the thought before... Do you think it is worth pursuing and adding
a Jira entry for such a generic capability.
Please let me know. I would be happy to implement the same.
Cheers,
Ashwin...
-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com
---------------------------------------------------------
--
View this message in context:
http://camel.465427.n5.nabble.com/Abstracting-Routes-using-Components-tp3234703p3237257.html
Sent from the Camel - Users mailing list archive at Nabble.com.