How to use special character for file consumer endpoint

2015-03-31 Thread abkrt
I need to consume the refund_2013123.txt23408+0630.txt inside the tmp directory. Exchange exc= consumerTemplate.receive( file:/tmp?fileName=refund_2013123.txt23408+0630.txt); Then it is not consuming the file. I hope it is due to + character. When it is removed (from file name

Re: How to use special character for file consumer endpoint

2015-03-31 Thread Claus Ibsen
Hi See about raw values here http://camel.apache.org/how-do-i-configure-endpoints.html On Tue, Mar 31, 2015 at 8:33 AM, abkrt tharang...@gmail.com wrote: I need to consume the refund_2013123.txt23408+0630.txt inside the tmp directory. Exchange exc= consumerTemplate.receive(

Re: How to use special character for file consumer endpoint

2015-03-31 Thread abkrt
Thank you very much... -- View this message in context: http://camel.465427.n5.nabble.com/How-to-use-special-character-for-file-consumer-endpoint-tp5765049p5765052.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Idepotent repository update inside a camel Processr

2015-03-31 Thread mohammed.rafi
Thanks Claus Ibsen, Glad to hear from you. Yes I have see the idempotentConsumer EIP behaviour and I am ok with it, but I needed to remove the added message keys for the batch (added from the idempotent consumer) from the Idempotent Repository whenever the DB batch update fails, this ensure

Re: Bindy running within a WAR

2015-03-31 Thread Ted
Thanks, I've created a PackageScanClassResolver for my project that works with WAR files. In the documentation http://camel.apache.org/pluggable-class-resolvers.html it says I simply need to create a spring bean but when I tried the bean was never referenced. I had a quick look in

Re: Apache Camel decodes HTTP query params and httpclient fails with Invalid query exception

2015-03-31 Thread Claus Ibsen
Hi I logged a ticket https://issues.apache.org/jira/browse/CAMEL-8578 On Mon, Mar 30, 2015 at 10:58 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Yeah sounds like a little bug. You are welcome to log a JIRA. http://camel.apache.org/contributing.html On Thu, Mar 26, 2015 at 3:56 PM,

Re: Apache Camel and web services

2015-03-31 Thread Willem Jiang
It looks there are more than one version of CXF in your class patch, can you double check it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 30, 2015 at

Re: Bindy running within a WAR

2015-03-31 Thread Claus Ibsen
That is for using spring xml, with camelContext. On Tue, Mar 31, 2015 at 12:59 PM, Ted na...@pritchard.uk.net wrote: Thanks, I've created a PackageScanClassResolver for my project that works with WAR files. In the documentation http://camel.apache.org/pluggable-class-resolvers.html it says I

Re: Apache Camel and web services

2015-03-31 Thread Willian Antunes
Jiang, this is not the case. I had posted my doubt in Stackoverflow and I updated with the solution. http://stackoverflow.com/questions/29276308/apache-camel-and-web-services There are no examples portraying this situation in the Apache Camel project website. It was difficult a little for a

spring boot and camel

2015-03-31 Thread Minh Tran
Hi I'm playing around with getting an existing camel 2.14.1 application integrated with spring boot 1.2.2 and am having a hard time working out how to do it. I want to use the features of spring boot such as externalised properties and an executable war file. The first problem I encountered

Re: Camels stop without warning

2015-03-31 Thread davedave
Just prior to posting my question, I changed some things with my DB connection pool, and the system has been running for more than a day. Which is 100% better than it has run (over the last month). Could this have been caused by a poorly configured (default) thread pool profile? In turn, hiding

Re: Apache Camel and web services

2015-03-31 Thread Willem Jiang
Thanks for the information, it’s time to polish the CXF related example to help user speed up with camel-cxf :) -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On

Re: Camels stop without warning

2015-03-31 Thread Mark Webb
Could you post your route definitions? On Tue, Mar 31, 2015 at 12:57 AM, davedave nab...@scattered.com.au wrote: I'm running Camel (2.14.1) on ServiceMix (5.4.0), and have 21 routes across two bundles, including 11 timer producing endpoints. After around 10 hours (~1000 timer messages) of

Re: Bindy running within a WAR

2015-03-31 Thread Ted
Okay, thanks Claus. -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-running-within-a-WAR-tp5765035p5765084.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camels stop without warning

2015-03-31 Thread davedave
These are just a couple, the first is an example of a producing route, the second it one of the processing routes. Thanks for looking! Mark Webb wrote Could you post your route definitions? -- View this message in context:

camel - exception handling

2015-03-31 Thread contactreji
Hi Am trying to catch an exception and based on that continue the flow. Using below code. But on xml validation I get following cvc-complex-type.2.4.a: Invalid content was found starting with element 'camel:continued'. One of '{http://camel.apache.org/schema/spring:exception,

Re: camel elasticsearch component

2015-03-31 Thread Akram
Any quick suggestions will be more helpful... -- View this message in context: http://camel.465427.n5.nabble.com/camel-elasticsearch-component-tp5764662p5765090.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel - exception handling

2015-03-31 Thread Andrew Block
Continued is not a valid option in the catch block. By default the route will continue since it is the assumption that the catch logic will handle any any failures and continue. You can set the camel:handledfalse/camel:handled if you want to propagate the exception. - Andy --  Andrew Block M: