camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: add bean to registry in custom endpoint?
Date Sat, 11 May 2013 08:31:16 GMT
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 <> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message