Re: ERROR while running camel routing as war file

2012-02-11 Thread Vincent Nonnenmacher
yes just saw that while updating my pom, so confused (too recent play with guava I admit). thanks for pointing that. By the way, it seems that the m2eclipse plug-in can't grab anymore the source/javadoc of the 2.10-SNAPSHOT while I remembered it find the 2.9.0-SNAPSHOT fine. On Sat, Feb 11, 201

Re: ERROR while running camel routing as war file

2012-02-11 Thread Babak Vahdat
Hi that dependency to the Google concurrentlinkedhashmap API is as expected which was introduced through [1] and gets shaded into the camel-core jar. [1] https://issues.apache.org/jira/browse/CAMEL-4345 Babak -- View this message in context: http://camel.465427.n5.nabble.com/ERROR-while-runnin

Re: ERROR while running camel routing as war file

2012-02-11 Thread Vincent Nonnenmacher
On Sat, Feb 11, 2012 at 11:47 AM, Samruben wrote: > Hi > I am new user to camel. > > I have tried to route the message from one queue to other queue. while > running as java application, it works fine. > I have created war file using the same java file but am getting this error. > > ERROR - {135

About SQS deletion of Message (or policy?)

2012-02-11 Thread Vincent Nonnenmacher
I have a complex routing system using Camel and I want to pull message from an AWS-SQS queue into it. but I would like to control the deletion of message at the end of all the routes process. I don't have a way to control how my message flow goes 'outside' a series of routes and processing so I do

Re: ERROR while running camel routing as war file

2012-02-11 Thread Babak Vahdat
Hi JDK 1.7 is not supported yet, so try to make use of 1.6 to see if this was the cause of the problem. Babak -- View this message in context: http://camel.465427.n5.nabble.com/ERROR-while-running-camel-routing-as-war-file-tp5474775p5475273.html Sent from the Camel - Users mailing list archive

Re: ERROR while running camel routing as war file

2012-02-11 Thread Samruben
camel version 2.9.0 jetty server jdk1.7.0_02 whether it might be any dependency issue? -- View this message in context: http://camel.465427.n5.nabble.com/ERROR-while-running-camel-routing-as-war-file-tp5474775p5475248.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Question on the proper usage of Camel

2012-02-11 Thread Matt Pavlovich
Grzegorz- 1. I was under the impression that you had a bunch of custom code doing things like Web Service or database access. My contention was that using Camel components to replace a lot of that boiler code is a big win. There are still nice gains to be had from using Camel in your scenar

Re: Question on the proper usage of Camel

2012-02-11 Thread Grzegorz Borkowski
Ashwin, Matt, Thanks for you feedback. Here is some additional explanation of my points: 1. The external systems provide us with the ready-to-use proxies/stubs/facades. We just call the Java method on such stub and it does some remote calls internally, but it's beyond our control. What we see, is

Re: ERROR while running camel routing as war file

2012-02-11 Thread Claus Ibsen
Hi What version of Camel are you using? And what JDK version? And which web server are you using? On Sat, Feb 11, 2012 at 11:47 AM, Samruben wrote: > Hi > I am new user to camel. > > I have tried to route the message from one queue to other queue. while > running as java application, it works

ERROR while running camel routing as war file

2012-02-11 Thread Samruben
Hi I am new user to camel. I have tried to route the message from one queue to other queue. while running as java application, it works fine. I have created war file using the same java file but am getting this error. ERROR - {1356bff3-d686-53fe-2640-165b} java.lang.NoSuchMethodError: c

Re: onException is not getting called for exception which are not generated in camel route

2012-02-11 Thread Claus Ibsen
Hi You cannot do onException while doing onException, as this gets complicated, and you could potentially end up in a endless loop or whatever. When the 2nd exception is detected Camel will log this at ERROR level using a FatalFallbackErrorHandler. On Fri, Feb 10, 2012 at 2:56 PM, atg roxx wro

Re: Cron job removed from quartz scheduler by DefaultCamelContext

2012-02-11 Thread Claus Ibsen
Hi You need to keep the main app running. See this FAQ http://camel.apache.org/running-camel-standalone-and-have-it-keep-running.html On Sat, Feb 11, 2012 at 5:01 AM, honghebox wrote: > My route builder has a route starts with a  cron job that executes every 5 > minutes, but it never get kicked

Re: sending oracle XMLType message to activeMQ

2012-02-11 Thread Claus Ibsen
Can you post the full stacktrace? On Fri, Feb 10, 2012 at 6:34 PM, tops wrote: > Hi Ashwin! > > Let me answer to your questions: > > 1. Yes, ActiveMQ (5.5.1) uses a persistent store, but this store is MySQL > not the Oracle database. Therefore it's not clear for me why the class that > thrown th

Re: sending oracle XMLType message to activeMQ

2012-02-11 Thread tops
Hi Ashwin! Let me answer to your questions: 1. Yes, ActiveMQ (5.5.1) uses a persistent store, but this store is MySQL not the Oracle database. Therefore it's not clear for me why the class that thrown the exception is oracle.jdbc.driver.T2CConnection: Caused by: java.io.NotSerializableException: