It depends what kind of registry you use. eg spring is read-only. But you can use Camel's SimpleRegistry which is just a Map.
On Mon, May 6, 2013 at 7:09 PM, javamonkey79 <javamonke...@gmail.com> wrote: > Can you add a custom bean to the registry in a custom endpoint? > > I'd like to be able to add some default beans to the registry in my custom > endpoint, is this possible? > > I can see that I can get the camel context from the endpoint, and I can get > the registry from the camel context - but the registry appears to be > immutable. > > Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/add-bean-to-registry-in-custom-endpoint-tp5732085.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen