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
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
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)
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:
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
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
As suggested:
errorHandler(transactionErrorHandler().maximumRedeliveries(3));
onException(AccountNotFoundException.class)
.log(LoggingLevel.ERROR, com.foo.server.ngw, Account Not
Found. Message discarded.).stop();
from(source())
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
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
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:
10 matches
Mail list logo