Description
toString() (toJson()) method in ByteBufBsonDocument object breaks this object, therefore it is impossible to use more than one CommandListener. If event.getCommand().toJson() in second listener is called than an "org.bson.BsonSerializationException: While decoding a BSON document 4 bytes were required, but only 0 remain" will be occured.