Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
joram
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
joram
joram
Commits
b5a4bae6
Commit
b5a4bae6
authored
Jan 27, 2021
by
Andre Freyssinet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not updates destinations's properties on creation if null.
parent
b00d7324
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
joram/joram/client/jms/src/main/java/org/objectweb/joram/client/jms/Destination.java
...main/java/org/objectweb/joram/client/jms/Destination.java
+1
-1
joram/joram/client/jms/src/main/java/org/objectweb/joram/client/jms/admin/AdminWrapper.java
...va/org/objectweb/joram/client/jms/admin/AdminWrapper.java
+2
-0
No files found.
joram/joram/client/jms/src/main/java/org/objectweb/joram/client/jms/Destination.java
View file @
b5a4bae6
...
...
@@ -446,7 +446,7 @@ public abstract class Destination extends AdministeredObject implements javax.jm
dest
.
adminName
=
name
;
// If the destination already exists the properties shall be updated.
dest
.
setProperties
(
props
);
if
(
dest
!=
null
)
dest
.
setProperties
(
props
);
// Be careful, MBean registration is now done explicitly
}
...
...
joram/joram/client/jms/src/main/java/org/objectweb/joram/client/jms/admin/AdminWrapper.java
View file @
b5a4bae6
...
...
@@ -774,6 +774,7 @@ public class AdminWrapper implements AdminItf {
Queue
queue
=
Queue
.
createQueue
(
reply
.
getId
(),
name
);
// If the destination already exists the properties shall be updated.
if
(
prop
!=
null
)
processAdmin
(
queue
.
getName
(),
AdminCommandConstant
.
CMD_SET_PROPERTIES
,
prop
);
if
(
AdminModule
.
wrapper
!=
this
)
...
...
@@ -838,6 +839,7 @@ public class AdminWrapper implements AdminItf {
Topic
topic
=
Topic
.
createTopic
(
reply
.
getId
(),
name
);
// If the destination already exists the properties shall be updated.
if
(
prop
!=
null
)
processAdmin
(
topic
.
getName
(),
AdminCommandConstant
.
CMD_SET_PROPERTIES
,
prop
);
if
(
AdminModule
.
wrapper
!=
this
)
...
...
Write
Preview
Markdown
is supported
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