solved the problem. Seems like the bean definition for ActiveMQ needs the
connection factory explicitly defined.
    
    <bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent" >
        <property name="connectionFactory">
          <bean class="org.apache.activemq.ActiveMQConnectionFactory">
            <property name="brokerURL" value="${activemq.url}"/>
            <property name="userName"  value="${activemq.username}"/>
            <property name="password"  value="${activemq.password}"/>
          </bean>
        </property>
    </bean>


In the past, we used just 
    
    <bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent" >
            <property name="brokerURL" value="${activemq.url}"/>
            <property name="userName"  value="${activemq.username}"/>
            <property name="password"  value="${activemq.password}"/>
    </bean>




--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-2-18-activemq-not-working-under-karaf-tp5789455p5789520.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to