Deregister message was not sent in time before participant shutdown
Issue-ID: POLICY-4499
Change-Id: If830299e15d784df589b83d9e3e2e0aa20289df7
Signed-off-by: saul.gill <saul.gill@est.tech>
public void sendParticipantDeregister() {
var participantDeregister = new ParticipantDeregister();
participantDeregister.setParticipantId(participantId);
-
- undeployInstancesOnParticipant();
publisher.sendParticipantDeregister(participantDeregister);
+ undeployInstancesOnParticipant();
}
private void undeployInstancesOnParticipant() {