On Sat, Jan 2, 2010 at 7:05 PM, greenbean <[email protected]> wrote: > > Are parameter indexes currently supported in the XML? I looked around the > examples and source code for the bean component, and could not find it. > There is a ParameterInfo class, but I am not sure if that can be constructed > based on input from DSL. >
No its not. You can use some intermediate bean and do the bean binding yourself. eg bean A -> bean B (the intended target) if bean B cannot have any Camel annotations. > > > > Claus Ibsen-2 wrote: >> >> >> No its not possible. And if I recall correctly Java reflection cannot >> get parameter names, so you either need to use parameter index or >> annotations to bind them. >> >> > > -- > View this message in context: > http://old.nabble.com/Bean-Binding-Config-In-Spring-XML-Instead-Of-Annotations-tp26987217p26995134.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
