You can configure components using regular java code, for example if
you have getter/setters on the component.
In the routes with to / toF then its an endpoint uri you configure.
Though the component is called, to create the endpoint, so you can
essentially grab that information when createEndpoin
Camel support to look up the Object instance reference form the registry
(Spring ApplicationContext).
Camel URI support to set the parameter with the instance refrence like this
“#referenceName”.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (
Let's say that I'm looking to write a component. I want my component
to understand the Object... params that are passed in to it, such that
instead of camel processing:
toF("foo://%s","something")
I want the "something" to be passed to my component instead.
Is this possible?