Typesafe Bean injection in routes using Registry

2011-12-21 Thread Billy
g.class) method, or am I missing something obvious? Would i.e. a beanRef(SomeBusinessBean.class) extension be possible (or even a good thing?), using type-safety and Registry lookup's? -- View this message in context: http://camel.465427.n5.nabble.com/Typesafe-Bean-injection-in-routes-using-Registry-tp5092420p5092420.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Typesafe Bean injection in routes using Registry

2012-01-04 Thread Claus Ibsen
ct) > } > > ...but I guess that this creates a singleton bean as it is given at route > definition? > > Are my assumptions correct that I should only use the beanRef(String.class) > method, or am I missing something obvious? > > Would i.e. a beanRef(SomeBusinessBean.c

Re: Typesafe Bean injection in routes using Registry

2012-01-09 Thread Billy
ies and in multi concurrent scenarios (are my objects scoped as singletons/prototypes, etc..). Would love to continue the discussion, thanks for your response! /Billy -- View this message in context: http://camel.465427.n5.nabble.com/Typesafe-Bean-injection-in-routes-using-Registry-tp5092420p51

Re: Typesafe Bean injection in routes using Registry

2012-01-18 Thread Claus Ibsen
in multi concurrent scenarios (are my objects scoped as > singletons/prototypes, etc..). > > Would love to continue the discussion, thanks for your response! > > /Billy > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Typesafe-Bean-in