Camel-CXF issue with Log4J

2017-03-24 Thread Goyal, Arpit
Hi Colleagues, We are facing the same issue as reported in https://issues.apache.org/jira/browse/LOG4J2-1298 when using Camel-CXF (2.16 version) / CXF (cxf-core 3.0.10). Has anyone faced similar issue? Do we need to upgrade Apache CXF version? Regards, Arpit.

Re: why need the jars but i don't use the component?

2017-03-24 Thread Willem Jiang
It looks like you don't put some third party jars in your class path which are used by the camel components. If you don't need those camel components, you don't need to include the components jars when you start up the camel context. Willem Jiang Blog: http://willemjiang.blogspot.com (English)

Re: onException not getting called - only newly added onException does

2017-03-24 Thread bocamel
Never mind, just realized that the onException is per RouteBuilder. -- View this message in context: http://camel.465427.n5.nabble.com/onException-not-getting-called-only-newly-added-onException-does-tp5796106p5796107.html Sent from the Camel - Users mailing list archive at Nabble.com.

onException not getting called - only newly added onException does

2017-03-24 Thread bocamel
In my app, I need to inject some new routes. I do this by running a groovy script as a Camel processor that adds new routes to the existing context (exchange.context.addRoutes(new RouteBuilder(){...})). Everything works fine except that the existing context-level onException's, that were added be

Best way to poll a database and process in chunks

2017-03-24 Thread dvlato
Hello, I have just started working with Camel and I have what I believe is a pretty common requirement: poll the database to fetch all the records with a certain status, and process them in chunks (let's 10 rows at a time). I though I could leverage the existing components to do this easily but I

Process several messages from several JMSEndpoints with single ThreadPool

2017-03-24 Thread makkenza
We have a GUI app that creates a queue for every product to communicate with the server. As a result for every queue, Camel creates 3 threads (JmsConsumer, JmsReplyManagerTimoutChecker, and TemporaryQueueReplyManager) so after user adds 200+ products on his GUI, number of threads hits 2K and OSX wo

Re: Camel 2.18.2 Kafka SSL wrong parametrisation

2017-03-24 Thread habdank
My mistake. It is not: sslKey*S*toreLocation sslKey*S*torePassword but sslKey*s*toreLocation sslKey*s*torePassword Simple typo :-). -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-18-2-Kafka-SSL-wrong-parametrisation-tp5796070p5796086.html Sent from the Camel - U

file input with tail -f behaviour

2017-03-24 Thread Oliver Wulff
Hi there I've tried to use the stream input component to listen on changes within a file to process the lines one by one. But I noticed it always starts from the beginning. Is there an option in Camel to have "tail -f" behaviour to trigger my route? Thanks Oli

Camel 2.18.2 Kafka SSL wrong parametrisation

2017-03-24 Thread habdank
Dears, I am preparing Kafka endpoint with SSL and I am getting strange error message. Unknown parameters=[{sslKeyStoreLocation=/location/client.truststore.jks, sslKeyStorePassword=passwd}] Those parameters are staying definitely in the documentation of the consumer. The complete ERROR log is

Re: Need help retaining files in source folder..

2017-03-24 Thread Claus Ibsen
Hi You need to move the filter from the route up to the file endpoint so its applied sooner. See the filter option on the file componet https://github.com/apache/camel/blob/master/camel-core/src/main/docs/file-component.adoc On Thu, Mar 23, 2017 at 8:51 PM, Hari wrote: > Hi, > > I am new to came

why need the jars but i don't use the component?

2017-03-24 Thread vonezzz
2017-03-24 08:57:10.011 WARN org.apache.camel.impl.converter.AnnotationTypeConverterLoader:299 loadConverterMethods - Ignoring converter type: org.apache.camel.component.xmlrpc.converter.XmlRpcConverter as a dependent class could not be found: java.lang.NoClassDefFoundError: org/apache/xmlrpc/XmlR