Hi,

I don't think current Camel bean binding[1] supports this spring configure feature, and URI options for method parameters the m is not a type safe way. If you don't want to use the annotation on the POJO method, you can use the Exchange as the POJO method parameter, but it still makes your POJO depends on the camel-core.

[1]http://camel.apache.org/bean-binding.html

Willem

greenbean wrote:
Is it possible to do something similar to what is done with annotations, but
in Spring XML?

 doSomething(@Header(value = "header1") String headerValue1, @Body String
body)

Say I don't want to use Camel annotations in my POJO.  However, I would like
to bind "header1" to my headerValue1 parameter in the Spring XML
configuration (assume I will have multiple input String parameters).  I kind
of expected it to be one of the options on the bean... <to
uri="bean:testBean?method=doSomething"/>.  Say
?method=doSomething&header1=headerValue1... etc.

Is something like this possible?

Thanks.

Reply via email to