[
https://issues.apache.org/jira/browse/CAMEL-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547330#comment-16547330
]
Kevin Garner commented on CAMEL-12648:
--------------------------------------
Thanks for the clarification, I missed these updates when updating from 2.19 to
2.21.
> ExchangeSentEvent not fired if no EventNotifier is accepting
> ExchangeSendingEvent
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-12648
> URL: https://issues.apache.org/jira/browse/CAMEL-12648
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.20.0, 2.21.0, 2.22.0
> Reporter: Kevin Garner
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 2.23.0
>
>
> Due to changes in CAMEL-11346, many processors (including SendProcessor) no
> longer send ExchangeSentEvent when processing is done. The StopWatch object
> is not created when EventHelper.notifyExchangeSending returns false. If no
> EventNotifier is registered to receive that event, it will be false. But an
> EventNotifier may still be registered to receive ExchangeSentEvent. The
> StopWatch should be created when there is an EventNotifier registered for
> ExchangeSentEvent even when ExchangeSendingEvent is not, unless those events
> are always required to be paired together.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)