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

2015-01-12 Thread Claus Ibsen
Hi You can use a route policy, and then stop the consumer in onExchangeDone http://camel.apache.org/routepolicy.html On Mon, Jan 12, 2015 at 8:31 AM, yeandone willcours...@gmail.com wrote: Will there be any risks if I stop route like that? After the exchange is processed by both end endpoints

Re: Rest DSL: org.apache.camel.ExchangeTimedOutException: The OUT message was not received within: 20000 millis

2015-01-12 Thread Ettore Giallaurito
Hi Claus, great thanks for your help. Regards, Ettore. On Sun Jan 11 2015 at 10:04:34 AM Claus Ibsen claus.ib...@gmail.com wrote: Hi Ah spotted the issue. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-8227 You can use .to(ExchangePattern.InOnly, jms:xxx) as the

Possibility to track (monitor) inbound/outbound messages (request/response)

2015-01-12 Thread hanusto
Hello everybody, I am looking for the best way how to track or monitor (for example persist info into database) inbound message (we are a server) such as request (for example for WS) and our response (or fail). For example, for the same functionality for outbound messages (where we are client)

Re: onException is ignored

2015-01-12 Thread James Green
Mea culpa. Who knew AccountNumberFoundException was part of javax.security..! Fixed the import, the onException now executes. However, the .log line: .log(LoggingLevel.ERROR, com.foo.server.ngw, Account Not Found. Message discarded.).stop(); Actually writes the line:

Re: onException is ignored

2015-01-12 Thread James Green
So when using onException it's really important not to use a component that is already partaking in the transaction being rolled back? I get that now, but it's not immediately obvious. Does this explain why the log()ged message, Account Not Found. Message discarded. does not appear in the console

Re: onException is ignored

2015-01-12 Thread Claus Ibsen
Hi No the onException should be triggered even for TX. You may try to configure onException after errorHandler. On Mon, Jan 12, 2015 at 11:02 AM, James Green james.mk.gr...@gmail.com wrote: So when using onException it's really important not to use a component that is already partaking in

Re: onException is ignored

2015-01-12 Thread James Green
As suggested: errorHandler(transactionErrorHandler().maximumRedeliveries(3)); onException(AccountNotFoundException.class) .log(LoggingLevel.ERROR, com.foo.server.ngw, Account Not Found. Message discarded.).stop(); from(source())

Re: Timeout Exception in S3 download

2015-01-12 Thread Shing Hing Man
I've  added the delay and maxMessagePerPoll, as you suggested,  to the path, but I still get the same timeout exception. Shing On Monday, 12 January 2015, 2:10, Willem Jiang willem.ji...@gmail.com wrote: Can you increase the delay option and maxMessagePerPoll to see if the error

Re: error in reading FaceBook Endpoints

2015-01-12 Thread contactreji
Mahesh I too had a try with the Facebook component. Doesn't seem to work the straight forward way. Can someone help with inputs on this issue. Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/error-in-reading-FaceBook-Endpoints-tp5761510p5761605.html Sent from

Re: Possibility to track (monitor) inbound/outbound messages (request/response)

2015-01-12 Thread Willem Jiang
You may consider to use the OnCompletion[1] to process the response message. [1]http://camel.apache.org/oncompletion.html Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: