Hi all, There are clearly defined ways to bind header and exchange property values to method parameters via annotations as doc'd here: http://camel.apache.org/parameter-binding-annotations.html. My question is what is the best practice to bind *context* properties to method parameters. Currently, I'm copying context properties to exchange properties before invoking my methods so that I can access their values via parameter binding (as exchange properties), but that definitely feels hacky to me. Is there a better way to bind context properties to method parameters? If not, is there a best practice to work around this?
Thank! -edward -- View this message in context: http://camel.465427.n5.nabble.com/How-to-bind-context-properties-to-method-parameters-tp5766819.html Sent from the Camel - Users mailing list archive at Nabble.com.
