Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
dd5e10ab
Commit
dd5e10ab
authored
Jan 15, 2021
by
Andre Freyssinet
Browse files
Use internal name of destination.
parent
bc617eab
Changes
1
Hide whitespace changes
Inline
Side-by-side
joram/joram/client/jms/src/main/java/org/objectweb/joram/client/jms/admin/AdminWrapper.java
View file @
dd5e10ab
...
...
@@ -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
(
n
ame
,
AdminCommandConstant
.
CMD_SET_PROPERTIES
,
prop
);
processAdmin
(
queue
.
getN
ame
()
,
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
(
n
ame
,
AdminCommandConstant
.
CMD_SET_PROPERTIES
,
prop
);
processAdmin
(
topic
.
getN
ame
()
,
AdminCommandConstant
.
CMD_SET_PROPERTIES
,
prop
);
if
(
AdminModule
.
wrapper
!=
this
)
topic
.
setWrapper
(
this
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment