micahlmartin/NServicebus-Mongo

NServiceBus.MessageId not valid

Opened this issue · 0 comments

mongocsharpdriver" version="2.0.1" targetFramework="net451"
MongoDB.Bson" version="2.0.1" targetFramework="net45"
MongoDB.Driver" version="2.0.1" targetFramework="net45"
MongoDB.Driver.Core" version="2.0.1" targetFramework="net45"
NServiceBus" version="5.2.4" targetFramework="net451"
NServiceBus.MongoDB" version="2.1.0" targetFramework="net45"

using msmq. after upgrading nservicebus from 5.2.2 and the mongo drivers to 2.0+ i'm getting an error after my 'RequestTimeout' call. if i use InMemoryPersistence, this error goes away which suggests it's something with the nservicebus mongo driver. has anyone have any ideas?

2015-08-10 12:08:46.471 INFO NServiceBus.Unicast.Transport.TransportReceiver Failed to process message
MongoDB.Bson.BsonSerializationException: Element name 'NServiceBus.MessageId' is not valid'.
at MongoDB.Bson.IO.BsonWriter.WriteName(String name)
at MongoDB.Bson.Serialization.Serializers.BsonDocumentSerializer.SerializeValue(BsonSerializationContext context, BsonSerializationArgs args, BsonDocument value)