Commit cee9b50c authored by Andre Freyssinet's avatar Andre Freyssinet

Use internal name of destination.

parent c5384e06
......@@ -774,7 +774,7 @@ public class AdminWrapper implements AdminItf {
Queue queue = Queue.createQueue(reply.getId(), name);
// If the destination already exists the properties shall be updated.
processAdmin(name, AdminCommandConstant.CMD_SET_PROPERTIES, prop);
processAdmin(queue.getName(), AdminCommandConstant.CMD_SET_PROPERTIES, prop);
if (AdminModule.wrapper != this)
queue.setWrapper(this);
......@@ -838,7 +838,7 @@ public class AdminWrapper implements AdminItf {
Topic topic = Topic.createTopic(reply.getId(), name);
// If the destination already exists the properties shall be updated.
processAdmin(name, AdminCommandConstant.CMD_SET_PROPERTIES, prop);
processAdmin(topic.getName(), AdminCommandConstant.CMD_SET_PROPERTIES, prop);
if (AdminModule.wrapper != this)
topic.setWrapper(this);
......
Markdown is supported
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