Let\'s say I have a Camel route that looks like this :
from(\"direct:myRoute\")
.setHeader(\"someHeader\", simple(\"some header value\"))
.beanR
You can pass parameters in the way you described like this:
from("direct:myRoute")
.setHeader("someHeader", simple("some header value"))
.to("bean:myBean?method=beanMethod(${header.someHeader})")
More info, including other methods for bean binding can be found here http://camel.apache.org/bean-binding.html