Open davsclaus opened 10 years ago
I have JMS pure example implementation at https://github.com/pires/fabric8-amq-example/blob/master/client.impl/src/main/java/com/github/pires/example/client/impl/AMQClientImpl.java.
Moving to blueprint should be as simple as looking for ActiveMQConnectionFactory
interface.
<bean id="mqClient" class="com.github.pires.example.client.impl.AMQClientImpl">
<property name="connectionFactory">
<reference
interface="org.apache.activemq.ActiveMQConnectionFactory"
availability="mandatory" />
</property>
</bean>
This example https://github.com/fabric8io/fabric8/tree/master/fabric/fabric-examples/fabric-activemq-demo
Uses SCR/DS and we should have a simpler example that just uses blueprint to lookup the connection factory, and maybe use spring jms or pure jms as the client.
This example helps users that are using blueprint. But may not use an Apache Camel component.