Kevin Garner created CAMEL-12648:

             Summary: ExchangeSentEvent not fired if no EventNotifier is 
accepting ExchangeSendingEvent
                 Key: CAMEL-12648
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.21.0, 2.20.0, 2.22.0
            Reporter: Kevin Garner

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

Reply via email to