Hi there,
We are creating a new send only endpoint with NSB 7.2 using Azure Storage + NewtonsoftSerializer. We have other endpoints that are currently running NSB 5.2.25 with default JsonSerializer.
While we’d eventually want to upgrade all of our endpoints, we still have some ways to go
When sending a command from 7.2 to 5.2.25 we are getting following error. Is it even possible to do this?
2019-11-09 13:08:38.178 ERROR NServiceBus.Azure.Transports.WindowsAzureStorageQueues.PollingDequeueStrategy Failed to deserialize the envelope of the incoming message. Message will be discarded. MessageId: e656143b-26ac-47cb-b0c8-079e16d68204
NServiceBus.Azure.Transports.WindowsAzureStorageQueues.EnvelopeDeserializationFailed: Failed to deserialize message envelope —> System.ArgumentException: Invalid destination address specified
Parameter name: destination
at NServiceBus.Address.Parse(String destination) in C:\BuildAgent\work\a93f853f0c1b9532\src\NServiceBus.Core\Address.cs:line 91
at NServiceBus.Azure.Transports.WindowsAzureStorageQueues.AzureMessageQueueReceiver.DeserializeMessage(CloudQueueMessage rawMessage) in c:\BuildAgent\work\4e5353dd260f0a07\src\Transport\AzureMessageQueueReceiver.cs:line 179
at NServiceBus.Azure.Transports.WindowsAzureStorageQueues.AzureMessageQueueReceiver.Receive() in c:\BuildAgent\work\4e5353dd260f0a07\src\Transport\AzureMessageQueueReceiver.cs:line 110
— End of inner exception stack trace —
Here’s the message body:
{“IdForCorrelation”:null,“Id”:“4664f25e-27f1-4b6f-9197-ab00013b6ffb”,“MessageIntent”:1,“ReplyToAddress”:null,“TimeToBeReceived”:“00:00:00”,“Headers”:{“NServiceBus.MessageId”:“4664f25e-27f1-4b6f-9197-ab00013b6ffb”,“NServiceBus.MessageIntent”:“Send”,“NServiceBus.ConversationId”:“2c4bf6fd-c7f1-4dc2-b653-ab00013b7032”,“NServiceBus.CorrelationId”:“4664f25e-27f1-4b6f-9197-ab00013b6ffb”,“NServiceBus.OriginatingMachine”:“Sudins”,“NServiceBus.OriginatingEndpoint”:“stageagent-cms”,"$.diagnostics.originating.hostid":“5f6a6c476648f30cf957a7540280610f”,“NServiceBus.ContentType”:“application/json”,“NServiceBus.EnclosedMessageTypes”:“StageAgent.Messages.Core.Commands.ApproveSubittedCompanyCommand, StageAgent.Messages.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”,“NServiceBus.Version”:“7.2.0”,“NServiceBus.TimeSent”:“2019-11-09 19:08:28:763355 Z”},“Body”:“77u/eyJJZCI6ImQ4NWM2NGMyLTJlMmYtNGJkOS1iYmZmLTNkNmI0Nzc2NzFhZCIsIk9uVXRjIjoiMjAxOS0xMS0wOVQwMDowMDowMC0wODowMCJ9”,“CorrelationId”:“4664f25e-27f1-4b6f-9197-ab00013b6ffb”,“Recoverable”:true}