Hi All
We've been using the Azure Service Bus for some time, and are currently working up a new update to our system that uses it. The contract type that is transmitted in the BrokeredMessage is relatively simple, containing a string and a byte array. The byte array contains the contents of a file to be processed. The problem is that when I call Send on the QueueClient I am getting the following message:
A request from the client instance has exceeded the maximum message size, and the underlying channel will be recreated. Validate the content size before retrying
I had assumed that this was down to settings on the Queue, but after cocking up my most recent test it looks like this is being thrown by the actual client (using the WindowsAzure.ServiceBus nuget, tested with both versions 5.0.2 and 5.1.0)
(Specifically I realised that the queue an updated connection string pointed to hadn't been created, but the error was the same)
The threshold for this seems to be around the 256KB mark. Do we need to set any specific options or use a different method than .Send() when sending messages of this size?
Thanks in advance
Mark Middlemist