Commit 32365b4e authored by Nicolas Tachker's avatar Nicolas Tachker
Browse files

If interceptors, set JMSDestinationName property on the message.

parent 1a46f4d9
......@@ -596,6 +596,8 @@ public class Topic extends Destination implements TopicMBean {
Iterator it = messages.iterator();
while (it.hasNext()) {
Message m = (Message) it.next();
// set the destination name to the message
m.setProperty("JMSDestinationName", getName());
message = processInterceptors(m);
if (message != null) {
newMessages.add(message);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment