[ 
https://issues.apache.org/jira/browse/ARTEMIS-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16592143#comment-16592143
 ] 

ASF subversion and git services commented on ARTEMIS-2044:
----------------------------------------------------------

Commit 95ec8ea433d1bd5cf8294b0018c1edb7d45c07f0 in activemq-artemis's branch 
refs/heads/master from [~calohmn]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=95ec8ea ]

ARTEMIS-2044 Add onSendException, onMessageRouteException to 
ActiveMQServerMessagePlugin


> Add broker plugin methods to handle errors during "send"/"route" operations
> ---------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2044
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2044
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Carsten Lohmann
>            Priority: Major
>
> In the {{ActiveMQServerMessagePlugin}} class, there are the "beforeSend" and 
> "afterSend" methods for getting notified about the sending of a message.
> There is no method for being notified on when there was an error sending the 
> message, though. This would be something like an "onSendError" method.
> Same applies to "beforeMessageRoute"/"afterMessageRoute".
> (An "onDeliverError" method wouldn't fit here since "afterDeliver" is being 
> called in a "finally" block, hence also in case of an exception).
>  
> So it would be good to have methods like "onSendError" and 
> "onMessageRouteError" in {{ActiveMQServerMessagePlugin}}.
> This is needed for implementing OpenTracing support via a broker plugin - see 
> ARTEMIS-2028.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to