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
c7d86000
Commit
c7d86000
authored
Mar 07, 2018
by
afreyssin
Browse files
Minor changes (JORAM-287).
parent
1e83fa5e
Changes
1
Show whitespace changes
Inline
Side-by-side
joram/joram/mom/core/src/main/java/org/objectweb/joram/mom/proxies/ConnectionManager.java
View file @
c7d86000
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2004 - 201
3
ScalAgent Distributed Technologies
* Copyright (C) 2004 - 201
8
ScalAgent Distributed Technologies
* Copyright (C) 2004 France-Telecom R&D
*
* This library is free software; you can redistribute it and/or
...
...
@@ -182,8 +182,7 @@ public class ConnectionManager implements ConnectionManagerMBean {
ctx
.
pushReply
(
new
MomExceptionReply
(
req
.
getRequestId
(),
exc
));
}
else
if
(
error
instanceof
UnknownAgentException
)
{
UnknownAgentException
uae
=
(
UnknownAgentException
)
error
;
DestinationException
exc
=
new
DestinationException
(
"Destination "
+
uae
.
getUnknownAgentId
()
+
" does not exist."
);
DestinationException
exc
=
new
DestinationException
(
"Destination "
+
uae
.
getUnknownAgentId
()
+
" does not exist."
);
ctx
.
pushReply
(
new
MomExceptionReply
(
req
.
getRequestId
(),
exc
));
}
else
{
if
(
logger
.
isLoggable
(
BasicLevel
.
WARN
))
...
...
@@ -192,6 +191,8 @@ public class ConnectionManager implements ConnectionManagerMBean {
}
public
void
done
()
{
// Be careful, this code could be executed in another thread that the engine so
// the pushReply method must be synchronized.
ctx
.
pushReply
(
new
ServerReply
(
req
.
getRequestId
()));
}
});
...
...
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