servlet event based file consuming using file component

2013-04-04 Thread praveenbillampati
Hi All, I have requirement to consume files from a file endpoint only when it gets an event, inform of servlet hit. As per our architectural standard we are not allowed write any implementations of camel interfaces. We should strict to use spring flavored xml for camel configurations. I have gone

Re: servlet event based file consuming using file component

2013-04-08 Thread praveenbillampati
Hi All, Any idea on this? Thanks Praveen -- View this message in context: http://camel.465427.n5.nabble.com/servlet-event-based-file-consuming-using-file-component-tp5730356p5730503.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: servlet event based file consuming using file component

2013-04-09 Thread praveenbillampati
We are using file consumer template, but file consumer by default polls the directory, but we need to prevent the continuous polling and look for the file only when we ask it to do. -- View this message in context: http://camel.465427.n5.nabble.com/servlet-event-based-file-consuming-using-f

Re: servlet event based file consuming using file component

2013-04-09 Thread praveenbillampati
Hi Chris, pollEnrich is the right option and it is doing the trigger as well, but I am seeing below error. Basically it is moving(this is what I need to do on trigger) the file on giving the trigger and after that it is trying to read the file again. /java.io.FileNotFoundException: C:\feed\event

Re: servlet event based file consuming using file component

2013-04-10 Thread praveenbillampati
Found the reason behind the above error. Route is ending with a push to archive directory but internally exchange body is sent as the servlet response too. For sending the response camel is again trying to read the file from consumed location. Modified the route as shown below.

org.springframework.jms.InvalidDestinationException while trying placing a message on queue

2013-04-10 Thread praveenbillampati
Hi All, We are seeing un-handled exception from JMS producer which is causing infinite retries. Below is the scenario we have. 1. We are using camel JMS request reply. 2. Client places a request in a queue 'A' along with JMSReplyTo queue 'B' set in the request JMS header. 3. The queue 'A' is con

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-12 Thread praveenbillampati
Any ideas..? -- View this message in context: http://camel.465427.n5.nabble.com/org-springframework-jms-InvalidDestinationException-while-trying-to-place-a-message-on-queue-tp5730697p5730768.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-12 Thread praveenbillampati
Route is able to listen on the from queue correctly. I tried keeping exception listener, however it is not listening the exception. Below is the configuration. package com.aaa.bbb.ccc; import javax.jms.ExceptionListener; import javax.jms.JMSException; public class JMSExceptionListener implemen

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-15 Thread praveenbillampati
Thanks for the try magnuspalmer. I too tried for junit tests but don't find any.. Let me know if you have any other ideas on the approach.. I can try it out.. -- View this message in context: http://camel.465427.n5.nabble.com/org-springframework-jms-InvalidDestinationException-while-trying-t

delete=true is not working in combination with doneFileName as a marker

2012-02-25 Thread praveenbillampati
Hi, I am working on camel 2.8. My requirement is to write a file to an 'inbox' folder where camel is listening continuously and once the camel consumes the file i need to delete the file from that 'inbox' folder. I use 'delete=true' for this purpose. To avoid file being consumed during write of f

Re: delete=true is not working in combination with doneFileName as a marker

2012-02-25 Thread praveenbillampati
Thanks Claus, It works. Yes, it should be '&' not ';&'. --Praveen -- View this message in context: http://camel.465427.n5.nabble.com/delete-true-is-not-working-in-combination-with-doneFileName-as-a-marker-tp5514926p5515298.html Sent from the Camel - Users mailing list archive at Nabble.com.

Duplicate JMS messages are getting piled up with redelivery of messages

2014-02-06 Thread praveenbillampati
Hi All, We have a camel route processing requests came on to a queue and that queue is having concurrent consumers. Route is configured to redeliver the message for 3 times when there is an exception. We observed that the same message is getting submitted multiple times and there is an increase