I'm running Karaf 4.1.0 and Artemis 2.0 on AWS EC2.

It's running fine but when I setup a camel route that connects to Artemis I
get the following errors.

org.apache.activemq -- Cannot be resolved
org.apache.activemq.camel.component -- Cannot be resolved

Question 1 - When running Artemis do I have to include some legacy ActiveMQ
components?
Question 2 - If not is there a different connection factory that should be
used for Artemis?

I don't have ActiveMQ installed only Artemis I'm using the following camel
connection:


        <bean id="jms"
class="org.apache.activemq.camel.component.ActiveMQComponent">
                <property name="connectionFactory">
                        
                        <bean 
class="org.apache.activemq.ActiveMQConnectionFactory">
                                <property name="brokerURL"
value="failover:(tcp://ec2-xx-xxx-238-177.compute-1.amazonaws.com:61616,tcp://ec2-xx-xxx-6-199.compute-1.amazonaws.com:61616)?maxReconnectAttempts=0"/>
                                <property name="userName"  value="xxxx" />
                                <property name="password"  value="xxxx" />
                        </bean>
                </property>
        </bean> 




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Artemis-2-0-in-Karaf-4-1-0-accessing-via-Camel-issues-tp4724207.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to