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 createEndpoint method is
called.



On Sun, Oct 20, 2013 at 10:02 PM, John D. Ament <john.d.am...@gmail.com> wrote:
> 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?



-- 
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

Reply via email to