Hi everyone,
We’ve just released ServiceControl 5.2.1.
Fixed bugs
- #4200 Retried messages and ServiceControl integration messages cannot be handled by older MSMQ endpoints
How to know if you are affected
You are affected if you are using a combination of:
- ServiceControl 5.2.0 (earlier versions are not affected)
- NServiceBus.Transport.Msmq 1.0.x or NServiceBus 6.x (or earlier)
Symptoms
Retried messages and ServiceControl integration messages cannot be handled by endpoints. The messages are moved to the error queue and the endpoints log a warning similar to:
2024-05-24 09:50:35.097 WARN Message '7e47b130-25e6-4b43-baf0-2339b773687a\105607' has corrupted headers
System.InvalidOperationException: There is an error in XML document (1, 1). ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read3_ArrayOfHeaderInfo()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at NServiceBus.Transport.Msmq.MsmqUtilities.DeserializeMessageHeaders(Message m)
at NServiceBus.Transport.Msmq.MsmqUtilities.ExtractHeaders(Message msmqMessage)
When to upgrade
You should upgrade immediately if you are affected.
Where to get it
You can download the new version of ServiceControl from our website.
With thanks,
The team in Particular
Please read our support policy for more details.