Changing subject to keep thread intace
It looks like your bundle is waiting to get the ConnectionFactory
service for the <reference>. Try running bundle:services | grep
ConnectionFactory to see if you have a bundle that's exporting a
ConnectionFactory service.
-Chris
On 01/30/2014 09:06 AM, Laci Gaspar wrote:
Sorry to be asking again, but I'm stuck.
I can't get a camel route with an AMQ component to run in karaf.
The error I'm getting is
2014-01-30 16:02:55,272 | INFO | l Console Thread |
BlueprintContainerImpl | container.BlueprintContainerImpl
344 | 7 - org.apache.aries.blueprint.core - 1.1.0 | Bundle
ch.curabill.msp.service.amq-route is waiting for dependencies
[(objectClass=javax.jms.ConnectionFactory)]
My blueprint.xml is:
<bean id="jms2FileRoute"
class="ch.curabill.msp.service.MyRouteBuilder">
</bean>
<camelContext id="jms2file"
xmlns="http://camel.apache.org/schema/blueprint">
<routeBuilder ref="jms2FileRoute" />
</camelContext>
<reference id="jmsConnectionFactory"
interface="javax.jms.ConnectionFactory"/>
<bean id="jmsConfig"
class="org.apache.camel.component.jms.JmsConfiguration">
<property name="connectionFactory" ref="jmsConnectionFactory" />
<property name="transacted" value="false" />
</bean>
<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="configuration" ref="jmsConfig" />
</bean>
Activemq is running standalone.
Please help.
Regards,
laci