Hey there, I'm trying to get a reference to the pooled AMQ Connectionfactory that's default configured in the activemq-broker.xml like this:
<service ref="pooledConnectionFactory" interface="javax.jms.ConnectionFactory"> <service-properties> <entry key="name" value="localhost"/> </service-properties> </service> I defined my reference in the blueprint file like this: <reference id="pooledConnectionFactory" interface="javax.jms.ConnectionFactory" /> <service id="socketNotificationService" interface="xx.xx.ContextStartupListener"> <bean class="xx.xx.SocketNotificationService"> <property name="connectionFactory" ref="pooledConnectionFactory" /> </bean> </service> This seems pretty clear and straight forward. But when I try to use the connectionFactory in my SocketNotificationService the factory is always empty! Any ideas any one? All the bundle for ActiveMQ are activated as well. Running on: Mac OS X 10.8.3 with explicit use of Java version "1.6.0_43". -- View this message in context: http://servicemix.396122.n5.nabble.com/Can-get-reference-to-AMQ-ConnectionFactory-tp5716494.html Sent from the ServiceMix - User mailing list archive at Nabble.com.