Re: Apache Camel SFTP

2015-01-13 Thread Claus Ibsen
Hi Since you take 15 min to process the file, then try setting a higher session timeout on the FTP server. The keep alive checks are only in use when the ftp consumer is idle, not while it process a file. On Tue, Jan 13, 2015 at 9:39 PM, Luciano Nunes wrote: > I am working in a piece of code tha

Re: Help: FTP/SFTP File Delete Problem and FTP/SFTP Polling Problem

2015-01-13 Thread yeandone
Hi, contractreji. Thanks for the reply. I do have all the permissions because I use admin credentials to access the sftp location. I wonder if you have any idea how I can resolve the issue. Thanks On Tue, Jan 13, 2015 at 6:05 PM, contactreji [via Camel] < ml-node+s465427n5761660...@n5.nabble.co

Apache Camel SFTP

2015-01-13 Thread Luciano Nunes
I am working in a piece of code that routes from SFTP input to a bean process and then to SFTP output. So, my process takes about 15 minutos to complete and when they finishes, the Camel try to delete a input file from SFTP input route. At this moment, the FTP server throws an error: 13 Jan 2015 1

Re: Intermittent error: No content to map due to end-of-input

2015-01-13 Thread shanaloh
I read this thread and added convertBodyTo(String.class) after the wiretap and before unmarshal(). the error is gone. http://t166678.apache-camel-user.apacheforum.info/wiretap-problem-t166678.html any idea why a convert to string will resolve the issue? -- View this message in context: http:

Re: Help: FTP/SFTP File Delete Problem and FTP/SFTP Polling Problem

2015-01-13 Thread Reji Mathews
Hey buddy I had faced similar issue few months back. It so happened that my ftp admin hadn't provide delete and write authorizations to my ftp credentials . It would be a good idea to check with ur ftp admin personnel if these rights are provided to ur ftp credentials. Cheers Reji On 9 Jan 2015

Re: how to send a new message to an endpoint, continue with the current one

2015-01-13 Thread Reji Mathews
You can even check out Camel ProducerTemplate .. Cheers Reji On 13 Jan 2015 14:34, "hqi65334" wrote: > Hi, > > from("direct:start").process(processorA).to(myqueue).processor(processorB); > > after processing with processorA I'd like to send a customized message to > the myqueue > and continue wi

Re: Camel jms listener on JMSReplyTo bahaviour

2015-01-13 Thread Reji Mathews
Hey Ett I understand that u are sending request via REST request. You should be getting the response as a REST response with some http status codes isn't it ? Why are you polling the jms queue for the response from your processor . It should already build build a response and send it back to ur

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2015-01-13 Thread Vinny
Do the component developers follow this list? I'd love to see a switch as well. Issue tracker for components ? On Wed Nov 26 2014 at 1:44:01 AM Claus Ibsen wrote: > Hi > > Did you get in contact with the xmjson team about the issue and if > they are willing to add a flag to turn this on/off etc?

Re: Help: FTP/SFTP File Delete Problem and FTP/SFTP Polling Problem

2015-01-13 Thread yeandone
Ok Thanks Claus. But if I keep the original code, will those warning messages have any negative impacts on my logics and route? On Mon, Jan 12, 2015 at 12:58 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n5761580...@n5.nabble.com> wrote: > Hi > > You can use a route policy, and then stop the con

Camel jms listener on JMSReplyTo bahaviour

2015-01-13 Thread Ettoregia
Hi all, from the documentation I saw that when within a Camel route I send a msg on a jms destination, with either a replyTo option set or specifying the MEP as InOut, Camel will then instantiate a jms listener to listen to that JMSReplyTo dest. So far so good, at least if that is correct. My poi

Re: [feature request] Reporting startup failure

2015-01-13 Thread Chris Melikian
I'm sorry. I can't reproduce it now. I'm sure I saw it but please assume it's my error! -- View this message in context: http://camel.465427.n5.nabble.com/feature-request-Reporting-startup-failure-tp5761531p5761620.html Sent from the Camel - Users mailing list archive at Nabble.com.

Where is logName used?

2015-01-13 Thread James Green
The following code: .log(LoggingLevel.ERROR, "com.foo.server.ngw.router", "Account Not Found. Message discarded.").stop(); Results in the following in the log: 10:12:11,690 ERROR org.slf4j.helpers.MarkerIgnoringBase:145 error() - Account Not Found. Message discarded. I was expec

Re: What's wrong in my REST paths?

2015-01-13 Thread Giorgio Vespucci
Sorry for the delay, Claus... I'm using a Tomcat 6 (I'm aware Camel 2.14.1 does not support Java 6, but I cannot change that for now) in my dev line, though on my dev machine it's running on Jetty, via mvn jetty:run-war. I'll build that test and see what happens... Thanks On Sun Jan 04 2015 at 14:

Re: how to send a new message to an endpoint, continue with the current one

2015-01-13 Thread hqi65334
Thanks, I will try it. .wireTap(myqueue).newExchangeBody(new Expression() { public T evaluate(Exchange exchange, Class type) { return (T) new QueueMsg(); } }).end() I assume all current properties and headers would not be sent to the queue -- View this message in context: h

Re: how to send a new message to an endpoint, continue with the current one

2015-01-13 Thread Charlie Mordant
Hi, You can use the wiretap pattern to do this. Regards, 2015-01-13 9:55 GMT+01:00 hqi65334 : > Hi, > > from("direct:start").process(processorA).to(myqueue).processor(processorB); > > after processing with processorA I'd like to send a customized message to > the myqueue > and continue with the

how to send a new message to an endpoint, continue with the current one

2015-01-13 Thread hqi65334
Hi, from("direct:start").process(processorA).to(myqueue).processor(processorB); after processing with processorA I'd like to send a customized message to the myqueue and continue with the output of processorA in processorB. What is the best way to to it in camel? My first idea was to s