SendOnly endpoint (hosted in Azure WebRole) and DelayedMessagePoller exceptions

35 views
Skip to first unread message

Geert Depickere

unread,
Aug 22, 2017, 10:26:21 AM8/22/17
to particula...@googlegroups.com
I have an endpoint (hosted in a Azure WebRole) that is configured as a send-only endpoint (using configuration.SendOnly();), and used Azure Storage queues as transport.

I think that such an read-only endpoint should not be polling for delayed messages? However I see following traces when starting the WebRole in the local emulator:

2017-08-22 16:19:27.122 DEBUG NServiceBus.Azure.Transports.WindowsAzureStorageQueues.DelayDelivery.DelayedMessagesPoller Polling for delayed messages at 22/08/2017 14:19:27 +00:00.
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in Microsoft.WindowsAzure.Storage.dll
Exception thrown: 'Microsoft.WindowsAzure.Storage.StorageException' in mscorlib.dll

Can someone explain this behavior?

Thanks,
Geert.

Sean Feldman

unread,
Aug 22, 2017, 11:50:20 AM8/22/17
to Particular Software
Hi Geert,

This sounds like a bug. I've raised an issue on GitHub (https://github.com/Particular/NServiceBus.AzureStorageQueues/issues/248).
Please subscribe to the issue to get updates.

Sean

Geert Depickere

unread,
Aug 23, 2017, 4:13:41 AM8/23/17
to particula...@googlegroups.com
H Sean,

I read your comments on the GitHub case. Thanks for explaining this.

However: 
As you know, polling Azure storage results in extra costs...
Is there an option to disable this polling when I know that I am not using delayed message sending from my send-only endpoint? 

Geert.

Sean Feldman

unread,
Aug 23, 2017, 12:28:34 PM8/23/17
to Particular Software
Hi Geert,

For the cost concern, I've raised a feature request here
It makes sense, especially when you know when your endpoints don't use delayed delivery at all.

Sean

Geert Depickere

unread,
Aug 23, 2017, 5:09:01 PM8/23/17
to Particular Software
Thanks Sean.

Sean Feldman

unread,
Sep 19, 2017, 12:21:51 AM9/19/17
to Particular Software
Hi Geert,

This feature will be enabled in the upcoming version 8.0.0 of the ASQ transport.
You can try the beta to confirm this is what you wanted by installing ASQ 8.0.0-beta0002 on NuGet (https://www.nuget.org/packages/NServiceBus.Azure.Transports.WindowsAzureStorageQueues/8.0.0-beta0002)

Thank you,
Sean
Reply all
Reply to author
Forward
0 new messages