Re: camel file moving after process to default .camel or .done,

2014-05-29 Thread ramana
i able to solve. When using files on windows, make sure that if you use any custom code that read the file using a stream ,such af FileInputStream, etc. you must close the stream. On windows the file cannot be moved/deleted if that occurs. So double check your own code first. -- Vie

Re: Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-29 Thread lakshmi.prashant
Hi, Thanks for your reply - There is no stack trace and also, we are not able to debug the issue, as it doesn't reach any of our components in the route. I will look into this closely and follow your suggestion on delay. Thanks, Lakshmi -- View this message in context: http://camel.46542

Re: Pls Help - Wiretap Pattern

2014-05-29 Thread Mark Frazier
Short answer to 1) yes. Assuming I’m understanding you correctly, if your first route is an inOut exchange, then the response from webserviceURI will be sent back, it will be done independently of the exchange being sent to the second route. The second route will be executed in a separate thre

Pls Help - Wiretap Pattern

2014-05-29 Thread Happy User
Example scenario - External caller calls the blueprint and bp has 2 routes. QNS: 1. wiretap send a response(came from the webserviceURI) to external caller back and call the second route as well - Is my understanding correct? 2. if yes, will we be able to enforce a condition that wiret

I found a bug

2014-05-29 Thread Ernest Lu
Hi, I have three RouteDefinitions,as follows. from("direct:start") .routeId("route1") .to("mock:end") from("direct:start2") .to("mock:end") from("jetty:http://0.0.0.0:15124/download";) .removeHeader(Exchange.HTTP_URI) .routeId("filedownload") .to("http://127.0.0.1:8090/camel.doc";) The first R

Why do I get so many "external redeliveries" when using Camel with JMS topics?

2014-05-29 Thread Jeff Bischoff
Hi all, Please forgive me if this is a basic question. Working with Camel and JMS Topics has seemed very finicky for me so far. If I make slight configuration changes, I see the same message repeated endlessly. Using jconsole, I now know these messages are "external redeliveries", i.e. the sam

Re: Self-termination of a Camel program

2014-05-29 Thread Matt Payne
I have this working using org.apache.camel.main.Main I can send an example after work. My guess is that someone will send an example before that. --Matt Payne On Thu, May 29, 2014 at 12:12 PM, Camel Guy wrote: > Hello again fellow riders, > > I would like to my camel program to terminate sh

Self-termination of a Camel program

2014-05-29 Thread Camel Guy
Hello again fellow riders, I would like to my camel program to terminate shortly after the camel context stops. I know how to stop a camel context in a background thread. I have indeed verified that no routes are running via jconsole. etc. When using the Maven camel-exec plugin, apparently the p

Re: MQTT component topic header missing

2014-05-29 Thread Claus Ibsen
Hi I logged a ticket to not forget about this https://issues.apache.org/jira/browse/CAMEL-7473 On Thu, May 22, 2014 at 3:48 PM, Claus Ibsen wrote: > Hi > > Yeah we should maybe add a header to the Camel message from the > MqttConsumer with the topic destination name from MQTT. Fell free to > log

Re: AggregationStrategyBeanAdapter potential issue when using POJO aggregator and receiving null response

2014-05-29 Thread Claus Ibsen
On Fri, May 23, 2014 at 3:32 PM, Radu Badita wrote: > Checked the documentation and understood. Basically the attribute > AggregationStrategyBeanAdater.allowNullNewExchange has to be true. But > it doesn't work since the newExchange is not null, instead only its > in-message body is null. Therefor

Re: Camel JCR examples?

2014-05-29 Thread hardikdesai81
Unfortunately not. I eventually ended up implemented JCR API without using Camel, because of our project's tight deadlines. Hardik On Thu, May 29, 2014 at 6:39 AM, vivekrao001 [via Camel] < ml-node+s465427n575167...@n5.nabble.com> wrote: > Did you get any working example? If so could you please

Re: sftp file exists

2014-05-29 Thread bsurya1989
Hi Claus, source : file:data/inbox?include=AMS.*.txt&delay=1000&idempotent=false&delete=true destination : sftp://test:test@localhost:22/sam/?stepwise=false&fileExist=Override&disconnect=true These endpoints worked fine for me. The above endpoints does the following : It polls(for every 1 sec

Re: sftp file exists

2014-05-29 Thread bsurya1989
Hi Claus, source : file:data/inbox?include=AMS.*.txt&delay=1000&idempotent=false&delete=true destination : sftp://test:test@localhost :22/sam/?stepwise=false&fileExist=Override&disconnect=true These endpoints worked fine for me. The above endpoints does the following : It polls(for every 1 sec

Re: Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-29 Thread Claus Ibsen
Hi Sounds like you have an exception being thrown during routing, and the quartz component just logs that. So either use an error handler to handle that exception. Or do not use fireNow, but use a delay so quartz does not fire asap, but give a bit of time for the other resources to be ready. O

Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-29 Thread lakshmi.prashant
Hi, We are using camel 2.12.3 distribution with quartz 1.8.6. We are repeatedly facing NullPointer issues with the quartz endpoint and the route is failing at the beginning in the quartz endpoint. After that the message in the route doesn't complete at all. We have faced this issue mainly

Re: sftp file exists

2014-05-29 Thread Claus Ibsen
Hi Sounds like you should use fileExist=Ignore&delete=true On Wed, May 28, 2014 at 7:57 PM, bsurya1989 wrote: > Thank you.. I am able to transfer the file. Consider a scenario if a > file(AMSTest.txt) has to be transferred from from source(file: component) > to destination(sftp: component). I

Re: Request/reply JMS (ActiveMQ)

2014-05-29 Thread Claus Ibsen
On Thu, May 29, 2014 at 9:15 AM, Tomas wrote: > Hi guys, > I am pretty new in Camel... I'd like to implement a simple Request/reply for > messaging with this behavior: > > 1. Requestor sends a message to a queue > 2. Replier listens on the queue, gets asynchronously the message and replies > to JM

Re: Request/reply JMS (ActiveMQ)

2014-05-29 Thread Tomas
Hi Christian, thank you for the reply. Yes, I can add a processor in between and send it back to MyQ like this: from("jms:queue:MyQ").process(...).to("jms:queue:MyQ"); But this is not what I need. I want to listen to the MyQ, receive it and then send a new message as a reply to the destination d

Re: Request/reply JMS (ActiveMQ)

2014-05-29 Thread Christian Schneider
Hi Thomas, camel does the receive as well as the reply in the from("jms:queue:myQ"). So what you try to achieve can simply be done with: from("jms:queue:MyQ")... Simply start your listener route with this and do some processing on the route. The body that is set at the end of the route is the

Request/reply JMS (ActiveMQ)

2014-05-29 Thread Tomas
Hi guys, I am pretty new in Camel... I'd like to implement a simple Request/reply for messaging with this behavior: 1. Requestor sends a message to a queue 2. Replier listens on the queue, gets asynchronously the message and replies to JMSReplyTo header of the message 3. Requestor receives the r

Re: Contributing and release scheduling

2014-05-29 Thread Willem Jiang
Hi Carlo, The PR you send is partly merged into apache camel trunk. I will add a comment for it, and you can close 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

Re: Contributing and release scheduling

2014-05-29 Thread Claus Ibsen
Hi Read here about how to contribute http://camel.apache.org/contributing You can do github PR or attach patches to JIRA etc. We have a great contribution procedure, and a lot of people have contributed. In fact we love contributions. On Wed, May 28, 2014 at 6:07 PM, carlo cancellieri wrote: