Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Stanza relaying adequately delivers a stanza from the source session to the target session.
This is currently done in MasterStanzaRelay.
We need to implement the follow improvements:
+ change from SingleThreadExecutor to ThreadPoolExecutor
+ make the executor configurable
+ make the executor monitorable and administerable
+ use distinct executors for internal and external delivery
+ introduce and use on submit() a proper Future to react with when delivery fails
+ handle exceptions