|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
JmsComponent uses spring's deprecated classHi 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? |
|
|
Re: JmsComponent uses spring's deprecated classHi
We have not upgraded to Spring 3.0 yet in Apache Camel. We wait for the official 3.0 release to be GA. There may be other areas where Spring 3.0 is causing issues. We haven't started looking into that. I do wonder if anyone is using the old 1.02 JMS API anymore? Maybe some old JMS brokers only offers that old API? On Wed, Oct 14, 2009 at 9:12 PM, linuca <linuca@...> wrote: > > 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. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus |
|
|
Re: JmsComponent uses spring's deprecated classI just switched to Spring 2.5.6, and it's working fine.
Please, I want a decent manual for Camel! It's such a good thing that we have a forum al least. Thanks. |
|
|
Re: JmsComponent uses spring's deprecated classOn Thu, Oct 15, 2009 at 2:23 PM, linuca <linuca@...> wrote:
> > I just switched to Spring 2.5.6, and it's working fine. > > Please, I want a decent manual for Camel! It's such a good thing that we > have a forum al least. > A manual is here http://camel.apache.org/manual.html Also use the google search bar in the front page of the camel website. And another "decent manual" in the works http://twitter.com/davsclaus/statuses/4884255614 > Thanks. > -- > View this message in context: http://www.nabble.com/JmsComponent-uses-spring%27s-deprecated-class-tp25897204p25907601.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus |
|
|
Re: JmsComponent uses spring's deprecated class
|
|
|
Re: JmsComponent uses spring's deprecated classAlso, Progress Software provides free (beta) documentation on its fusesource open source Web site: http://fuseeip.fusesource.org/documentation/index.html and at http://fusesource.com/products/enterprise-camel/
These docs are currently at version 1.6, but they will be updated to 2.0 in a few weeks time. Are there any specific aspects of the docs you would like to see improved? Presumably, you would be interested in better docs for the JMS component and transactions? - Fintan
|
|
|
Re: JmsComponent uses spring's deprecated classThanks Fintan! At first glance, this documentation looks really good!
I bought ActiveMQ in Action, and I think it is great, the examples are good. But when I tried to use Camel... that is where I see the lack of documentation. What I expect in a manual is, not only the description of the API and the things you can do, but also working examples (explained for dummies). It looks that they put the minimum information for every functionality, with complex and uncomplete examples. And you get this undesirable begginer's frustruation... Anyway, I won't give up and keep on trying. Right now I'm trying to perform a select query on the database, and then send the result to a consumer to insert the records (with iBatis). Once I get a working example, I'll post it here with the full code! Cheers and thanks again, Linuca. |
|
|
Re: JmsComponent uses spring's deprecated classYou can count on Camel in Action which is working in progress :)
linuca wrote: > Thanks Fintan! At first glance, this documentation looks really good! > > I bought ActiveMQ in Action, and I think it is great, the examples are good. > But when I tried to use Camel... that is where I see the lack of > documentation. What I expect in a manual is, not only the description of the > API and the things you can do, but also working examples (explained for > dummies). It looks that they put the minimum information for every > functionality, with complex and uncomplete examples. And you get this > undesirable begginer's frustruation... > > Anyway, I won't give up and keep on trying. Right now I'm trying to perform > a select query on the database, and then send the result to a consumer to > insert the records (with iBatis). Once I get a working example, I'll post it > here with the full code! > > Cheers and thanks again, > > Linuca. > > |
| Free embeddable forum powered by Nabble | Forum Help |