Hi,

My previous configuration does not work when several pre-configured
instances of Camel components are registered in the OSGi registry.

It is necessary to add a property in the OSGi filter with the component name
to distinguish between several Camel components.

Application-side : 
    <osgi:reference id="activemq" interface="org.apache.camel.Component"
filter="(component=activemq)"/>

Broker-side :
    <service ref="activemq" interface="org.apache.camel.Component">
        <service-properties>
                <entry key="component" value="activemq"></entry>
        </service-properties>
    </service>

Regards,

metatech

--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-documentation-update-tp5148751p5151779.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to