camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.
Date Mon, 12 Aug 2013 14:22:48 GMT
Logged a ticket to allow turn off event notifier in the producer template

On Mon, Aug 12, 2013 at 3:55 PM, pmcb55 <> wrote:
> Well actually, our production code makes extensive use of the
> ProducerTemplate to make explicit calls from our application server code
> (which just supports a standard web application) to simple Camel routes that
> invoke on backend services that all expose HTTP endpoints (so of course we
> use the HTTP4 component in those routes a lot).
> So the example I gave above is actually very close to what we are currently
> doing in our Production system. In fact, this slightly simplified route is
> extremely close to what we have in Production today:
> .enrich("http4://",
> new MyAggregator())
> .enrich("http4://", new
> MyAggregator())
>          .enrich("http4://",
> new MyAggregator());
> That's the kind of simple Camel route we invoke (using
> exchangeWithUserSpecifiedDataFromWebForm);*') from our web request
> processing code all the time! This has been working perfectly for a long
> time, and all I want to do now is gather timing stats for those PRODUCTION
> Camel routes :)
> (And as I said before, I know I could go to JMX, but the sample code I
> showed in my original post is so simple, and so intuitive (and so very
> nearly works perfectly!), that I'd love to just get it working for this
> simple use case.)
> Cheers,
> Pat.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message