Hi Are you talking about properties stored on CamelContext that is hardly in use at all? Or which properties are you talking about?
On Thu, May 7, 2015 at 5:04 PM, toomanyedwards <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
