Skip to content

Commit

Permalink
Merge pull request #332 from stuartwdouglas/affinity-fix
Browse files Browse the repository at this point in the history
EJBCLIENT-286 send weak affinity if there is no strong affinity
  • Loading branch information
n1hility authored Oct 16, 2017
2 parents 3c1fabf + d29849c commit 23dcfcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ public void convertToStateful(@NotNull final SessionID sessionId) throws Illegal
if (strongAffinityUpdate != null) {
marshaller.writeObject(strongAffinityUpdate);
} else {
marshaller.writeObject(Affinity.NONE);
marshaller.writeObject(new NodeAffinity(channel.getConnection().getEndpoint().getName()));
}
marshaller.finish();
} else {
Expand Down

0 comments on commit 23dcfcc

Please sign in to comment.