I use camel-bindy in a Blueprint file here:
https://github.com/janstey/rider-auto-osgi/blob/master/rider-auto-normalizer/src/main/resources/OSGI-INF/blueprint/camel-context.xmlMaybe
that will help. You don't to explicitly add that to the registry.

Of course, for camel-bindy to be available to the blueprint container, you
will need the camel-bindy feature installed (if you are using a Karaf-based
container).

Cheers,
Jon

On Fri, May 4, 2012 at 2:12 PM, sekaijin <jean-yves.terr...@sap.aphp.fr>wrote:

> Hi
>
> I use blueprint for my camel osgi bundles.
>
> I don't understand how to register a dataformat or a codec in the registry
> camel
>
> My xml is as follows
>
> and in my road builder I can not see my dataformat (I.E. my codec)
>
>
> if I understand well
> <Camel:Bindy adds dataformat in the blueprint  container.
> but my "route" are looking in the registry camel.
>
> How to bind an object in the registry camel?
> xml does not seem to be the right solution.
>
> and in the routebuilder getContext().getRegistry () returns a Registry that
> does not support the bind method.
>
> thank
> Bye.
> sorry for my approximative english
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-bind-an-object-in-the-registry-camel-tp5686392.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Cheers,
Jon
---------------
FuseSource
Email: j...@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Reply via email to