Hi,
i would like to do a route with a bit more bean invocations than
usually and i realise the use of array body to specify parameters is
not very nice, i always have something like:
from(...).to(<create my array>).to("bean:...").to(<save my output in
headers and replace the body to continue>)....
do you think it could be improved specifying in the bean component
input/output from headers for example?
example:
from(...).to("bean:foo.bar.MyClass?method=hello¶meter[0]=header(first)&aprameter[2]=header(other)&result=header(out)").to(...)
- Romain