1
這似乎是NSB XML Serializer/Deserializer中的一個錯誤。 我有URI屬性這樣一個簡單的命令:NServiceBus Uri序列化/反序列化問題
public class MyCommand : ICommand
{
public MyCommand(int num, Uri uri)
{
Uri = uri;
}
public Uri Uri { get; private set; }
}
我設置「http://docs.google.com/uc?authuser=1&id=0BzGD5JpB16DVTWNoemYyNkY3ZEk&ex」作爲開放的 它成功地序列化和存儲在MSMQ。 但是,當我試圖工人TI反序列化這條消息,我看到這個錯誤:
ERROR NServiceBus.Unicast.Transport.TransportReceiv
er [(null)] <(null)> - Failed to deserialize message with ID: 18df46d7-3768-4f79
-8c10-a3f700f6c1ce
System.Runtime.Serialization.SerializationException: An error occurred while att
empting to extract logical messages from transport message NServiceBus.Transport
Message ---> System.Xml.XmlException: '=' is an unexpected token. The expected t
oken is ';'. Line 4, position 45.
它看起來像一個串行問題becaue它不引用&符號。
您運行的是什麼版本的NServiceBus的? – 2014-12-06 14:30:32
我的NSB版本是4.4.2 – Sim 2014-12-08 17:31:20