Hi,

from the camel message you can get the exchange and from the exchange
the camel context

message.getExchange().getContext().

Regards Franz

On Tue, Aug 11, 2015 at 5:54 PM, akoufoudakis <akoufoudaki...@gmail.com> wrote:
> Dear all!
>
> I know that one can lookup for an OSGi service the following way:
> Runnable r = (Runnable) ctx.lookup("osgi:service/java.lang.Runnable");
> Can you do anything similar inside your camel route?
>
> Thank you in advance.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/OSGI-Service-look-up-tp5770588.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to