Description
Routing to an alternate exchange during queue deletion fails for topic exchanges. This is because the InboundMessageAdapter used to adapt the queues QueueEntry for routing by the exchange has a defect in the getRountingKeyShortSring() method. This method returns an AMQShortString and is used by the Topic exchange (to avoid redoing much of the Topic matching logic that uses AMQShortString) whereas the other exchanges use the getRoutingKey() method which returns a String.