[
https://issues.apache.org/jira/browse/AMQ-9157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635524#comment-17635524
]
ASF subversion and git services commented on AMQ-9157:
------------------------------------------------------
Commit 9f9a35eb29089cea29d3cadc0397b562a92a2045 in activemq's branch
refs/heads/main from Christopher L. Shannon (cshannon)
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=9f9a35eb2 ]
AMQ-9157 - Add missing dispatched advisory topic to
getAllDestinationAdvisoryTopics() method in AdvisorySupport
Adds missing dispached advisory topics to getAllDestinationAvisoryTopics()
method in AdvisorySupport which is used to clean up on destination removal
and also a note about virtual destination consumer advisories
> Add a new advisory type for dispatched messages
> -----------------------------------------------
>
> Key: AMQ-9157
> URL: https://issues.apache.org/jira/browse/AMQ-9157
> Project: ActiveMQ
> Issue Type: New Feature
> Components: Broker
> Affects Versions: 5.17.2
> Reporter: Christopher L. Shannon
> Assignee: Christopher L. Shannon
> Priority: Minor
> Fix For: 5.18.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> I have a use case where it would be useful for advisory messages to be
> (optionally) turned on for dispatched messages. There is currently an
> advisory for messages that have been consumed (acknowledged) but not for the
> dispatch before the acknowledge.
> I will be adding a new hook to the broker API to do this so that it follows
> the same pattern as the other advisories such as delivered and consumed
> advisories. The existing methods for pre/post processing dispatch are called
> from the TransportConnection but the advisory logic should be called from the
> subscriptions themselves on dispatch so that things like the connection
> context can be easily passed and to better decide when to call it (such as
> not calling for the Queue NULL_MESSAGE type).
> There will be a new policy entry flag called {{advisoryForDispatched}} that
> will be off by default.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)