Re: The Camel Kafka component crashes with a NoClassDefFoundError exception.

2015-04-16 Thread Willem Jiang
As the Scala lib has some backward compatible issue, so we cannot apply the scala version we use in camel to the Camel kafka. I think it’s up to the user to choice the right version of Scala there. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: The Camel Kafka component crashes with a NoClassDefFoundError exception.

2015-04-16 Thread Henryk Konsek
If we are talking about camel-scala, then I believe that scala dependency should be provided. We integrate Camel with Scala, but it is up to end-user to provide the version of Scala s(he) wants to use in the project. Laters! czw., 16 kwi 2015 o 19:10 użytkownik Claus Ibsen napisał: > Hi > > Yea

Re: The Camel Kafka component crashes with a NoClassDefFoundError exception.

2015-04-16 Thread Claus Ibsen
Hi Yeah I am not sure why the scala dependency was set to scope=provided. Maybe git blame can tell. But sure you are welcome to log a ticket and provide a patch / PR http://camel.apache.org/support On Wed, Apr 15, 2015 at 5:50 PM, ccampo wrote: > The Camel Kafka component crashes with a NoClass

Re: RSS Feed consumer

2015-04-16 Thread Claus Ibsen
Hi That is not support by rss, you would need to add a idempotent consumer etc to filter out duplicates. On Thu, Apr 16, 2015 at 11:45 AM, majid wrote: > Hi all, > > I have a scheduler task that is supposed to download a rss feeds file > locally and I want pull all these feeds and extract some d

Re: Substring from nth character to nth from the end

2015-04-16 Thread erd
Hi Yogesh, Thanks for the advice. The enclosure didn't function correctly, however I solved the problem on a suggestion from Claus to use groovy instead. My working code is request.body.substring(10, request.body.length()-[n]) I also needed to add the camel-script and camel-groovy dependencies

Re: Authentication in "pipes and filters" ???

2015-04-16 Thread Willem Jiang
I think you can just throw out the authentication failure exception and you can use the error handler to setup some kind of reject exception for the response to use. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (

Reactive Programming with Camel Components

2015-04-16 Thread Naira & Kobo
I have an open source enterprise middleware application that is expected to process quite a huge number of transactions daily. My current architecture (flow) looks thus: JettyServer -> Preprocessor -> JDBCClient -> Processor -> HTTPClient I will like to make this reactive like this: Camel-Vertx

Re: RSS Feed consumer

2015-04-16 Thread Henryk Konsek
Hi, Please show us your route :) . It would be helpful. Cheers. czw., 16 kwi 2015 o 11:46 użytkownik majid napisał: > Hi all, > > I have a scheduler task that is supposed to download a rss feeds file > locally and I want pull all these feeds and extract some data from them, > but > I want to d

Re: Virtual Topic isn't working

2015-04-16 Thread hayden74
Many thanks Paul, it turned up that I was using older version of Camel & ActiveMQ. it worked fine when I've upgraded the pom to use 2.15.1 & 5.11.1 respectively. -- View this message in context: http://camel.465427.n5.nabble.com/Virtual-Topic-isn-t-working-tp5765762p5765857.html Sent from the

RSS Feed consumer

2015-04-16 Thread majid
Hi all, I have a scheduler task that is supposed to download a rss feeds file locally and I want pull all these feeds and extract some data from them, but I want to delete this file at the end of the process. But it looks like the route keeps polling from the same file indefinitely. Is there any

Authentication in "pipes and filters" ???

2015-04-16 Thread Cristiano Costantini
Hello, I was searching to implement a "Pipes and Filter" EIP that, as the picture illustrated in http://camel.apache.org/pipes-and-filters.html, it has a step that "Authenticates" the exchange. I have not however figured out how to manage a failed authentication: how do I best implement the rejec

Re: JPA-Endpoint in onException is not committed

2015-04-16 Thread Frank Ertl
OK, I found it out myself: somehow the TransactionErrorHandler and Spring's PlatformTransactionManager don't work so well together. If I remove the .to("jpa:Order"); in the onException everything works well. So I got another question: Should I update the wiki.description for the jpacomponent and

Re: How to use Apache camel -file component to do a pattern match & rename the file

2015-04-16 Thread niteshjain
cool, That worked for me. Thanks a lot. Regards, Nithesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765849.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Spring Boot component is missing CamelSpringBootApplicationController

2015-04-16 Thread Henryk Konsek
Hi, Regardless of the ease of providing the workaround for this issue, I have backported CAMEL-8532 to 2.15.2. Cheers! śr., 15 kwi 2015 o 21:10 użytkownik Henryk Konsek napisał: > Hi, > > Just add spring-boot-starter-web to your project. It will block the main > thread. Or camel-boot-starter-