camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Mueller <christian.muel...@gmail.com>
Subject Re: Camel, OSGI and container wide interceptors
Date Wed, 11 Aug 2010 07:51:46 GMT

Hello Willem!

Thanks for the quick reply. If I understood you correct, I have to configure
the following (com.company.Tracer implements
org.apache.camel.processor.interceptor.Tracer):

Tracer OSGI Bundle:
{code}
  <bean id="tracer" class="com.company.Tracer" />

  <osgi:service ref="tracer">
    <osgi:interfaces>
      <value>org.apache.camel.processor.interceptor.Tracer</value>
    </osgi:interfaces>
  </osgi:service>
{code}

every other OSGI Bundle:
{code}
  <osgi:reference id="tracerOsgiRef"
interface="org.apache.camel.processor.interceptor.Tracer" />
{code}

Thanks,
Christian
-- 
View this message in context: http://camel.465427.n5.nabble.com/Camel-OSGI-and-container-wide-interceptors-tp2269044p2471592.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message