Right now the advisory broker support will only send producer advisories if there is a destination set. Anonymous producers won't have any advisories published.
We should add an option to send advisories for anonymous producers as well. Currently producer advisories are sent to an advisory topic that has the destination in the name. We will need a 3rd type of producer advisory topic to send all anonymous producers since there is no destination.
The topic where these advisories will be published will be:
There will be a new flag on the BrokerService called anonymousProducerAdvisorySupport that will need to be set to true in order for anonymous producer advisories to be sent. This will default to false for now as to not break any existing users who might be listening to Producer advisories and always expecting the destination to never be null.