Hi Everybody!

I'm trying a Camel example code and I get an error in the following line:

<code>
context.addComponent("activemq",
ActiveMQComponent.jmsComponentAutoAcknowledge(connectionFactory));
</code>

The error is:

<code>
java.lang.NoClassDefFoundError:
org/springframework/jms/listener/serversession/ServerSessionMessageListenerContainer102

org.apache.camel.component.jms.JmsComponent.jmsComponentAutoAcknowledge(JmsComponent.java:112)
</code>

ServerSessionMessageListenerContainer102 is a deprecated class in spring
framework 2.5 and they have removed it from spring framework 3.0 (the one
I'm using).

I want to use the new version of spring framework. How can I solve this?

-- 
View this message in context: 
http://www.nabble.com/JmsComponent-uses-spring%27s-deprecated-class-tp25897204p25897204.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.

Reply via email to