Tomas Restrepo wrote:
So far, I've got everything working pretty nicely, except for underliverable
messages sent to a topic exchange.
I've checked everything, and indeed the java broker sees the message and the
debug logs show it indeed recognizes it as undeliverable. However, it never
sends a Basic-Return frame back to the client notifying it of the problem,
like it happens with the direct and header exchanges. (I've verified traffic
with a protocol analyzer, btw, so I'm sure the frame is not sent over the
network)
So the question would be: Is this expected for a topic exchange? Or am I
just hitting a problem with the java broker? Any ideas?
By undeliverable I'm assuming you mean that the exchange to which the
message is published has no bindings that match the message. (If the
exchange wasn't recognised the broker should close the channel with a 404).
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?