forked from moquette-io/moquette
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes moquette-io#566: NotSerializableException: SessionRegistry$Publ…
…ishedMessage Instances of implementations of the interface SessionRegistry$EnqueuedMessage are put in the queue, which can be backed by the H2 store. But since this class is not serializable, H2 can not store it. This commit makes the interface serializable, and deals with the non-serializable ByteBuf that the PublishedMessage subclass has as a field.
- Loading branch information
Showing
1 changed file
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters