Skip to content

Commit

Permalink
TraderChatManager to handle onAllServicesInitialized
Browse files Browse the repository at this point in the history
Upon receipt of onAllServicesInitialized, TraderChatManager should
call tryApplyMessages in order to process any pending mailbox
messages stored up while offline.
  • Loading branch information
jmacxx committed Feb 24, 2021
1 parent 0e5c7e5 commit d3b62b1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ protected AckMessageSourceType getAckMessageSourceType() {
// API
///////////////////////////////////////////////////////////////////////////////////////////

public void onAllServicesInitialized() {
super.onAllServicesInitialized();
tryApplyMessages();
}

public void onSupportMessage(SupportMessage message) {
if (canProcessMessage(message)) {
log.info("Received {} with tradeId {} and uid {}",
Expand Down

0 comments on commit d3b62b1

Please sign in to comment.