Tomas Restrepo wrote:
I believe only messages published with the mandatory flag set will be
returned if there are no matching bindings. Can you verify whether that
flag is set?
Yes, the flag is set. In fact, the test code is exactly the same for all
four exchanges tested (default, direct, topic and headers), the only
difference is the exchange selected.
Sorry Tomas, I should have looked at the code first and wouldn't have
needed to pester you with silly questions!
The java broker currently checks the mandatory flag for the direct and
headers exchange but not for the topic exchange. I'll raise a JIRA.
The c++ broker doesn't obey mandatory at all; this was in anticipation
of changes in that area of the specification. However I'll raise a JIRA
for that as well.