Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.5.1
-
None
Description
In method
send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive)
The comparison destination == info.getDestination() in line 205 seems wrong.
I think that destination.equals(info.getDestination()).
Otherwise you get an exception "This producer can only send messages to QUEUE", even when both destination and info.getDestination() point to the same queue.