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
6910386d
Commit
6910386d
authored
Jul 09, 2020
by
Andre Freyssinet
Browse files
minor changes.
parent
832699fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/dest/AdminTopic.java
View file @
6910386d
...
...
@@ -736,16 +736,17 @@ public final class AdminTopic extends Topic implements AdminTopicMBean {
DestinationDesc
destDesc
;
// Retrieving an existing destination:
if
(
destName
!=
null
&&
!
destName
.
equals
(
""
)
&&
destinationsTable
.
containsKey
(
destName
))
{
if
(
destName
!=
null
&&
!
destName
.
equals
(
""
)
&&
destinationsTable
.
containsKey
(
destName
))
{
destDesc
=
(
DestinationDesc
)
destinationsTable
.
get
(
destName
);
if
(!
DestinationConstants
.
compatible
(
destDesc
.
getType
(),
type
))
{
if
(!
DestinationConstants
.
compatible
(
destDesc
.
getType
(),
type
))
{
throw
new
RequestException
(
"Destination type not compliant"
);
}
// TODO (AF): May be we have to send a SetProperties to the destination (JORAM-267).
strbuf
.
append
(
"Request ["
).
append
(
requestClassName
)
.
append
(
"], processed by AdminTopic on server ["
).
append
(
serverId
)
.
append
(
"], successful [true]: destination ["
)
.
append
(
destName
)
.
append
(
"] has been retrieved"
);
.
append
(
"], successful [true]: destination ["
)
.
append
(
destName
)
.
append
(
"] has been retrieved"
);
}
else
{
// Instantiating the destination class.
Destination
dest
=
null
;
...
...
joram/joram/tools/rest/admin/src/main/java/org/objectweb/joram/tools/rest/admin/AdminService.java
View file @
6910386d
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2016 - 20
18
ScalAgent Distributed Technologies
* Copyright (C) 2016 - 20
20
ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
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