--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/9dda94e3-4737-40ad-b4a5-5091cc85fae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
var host = bus.Host( connectionString: Config.AzureServiceBusConnectionString, configure: config => { var connectionString = new ServiceBusConnectionStringBuilder(Config.AzureServiceBusConnectionString); config.TokenProvider = TokenProvider.CreateSharedAccessSignatureTokenProvider( keyName: connectionString.SharedAccessKeyName, sharedAccessKey: connectionString.SharedAccessKey, tokenTimeToLive: TimeSpan.FromDays(1), tokenScope: TokenScope.Namespace); });
bus.ReceiveEndpoint(host, Config.QueueName, config =>{ config.EnableDeadLetteringOnMessageExpiration = false; config.UseRenewLock(TimeSpan.FromSeconds(240)); config.MaxConcurrentCalls = 1; config.PrefetchCount = 1; config.Consumer<MyConsumer>(context);});
Which transport (.NET framework, or .NET Standard -- which package) and versions are you using, and what does your configuration code look like?
On Wed, Jan 30, 2019 at 8:53 AM Timothy Frye <timoth...@gmail.com> wrote:
I have a long running process using MassTransit and ASB. We have 5 minute lock durations, and auto renew set to 4 minutes.--We have logs from a processor on a machine saying it received a message at 4:08 and Renewed Lock for that message id at 4:12 and 4:16We have a log saying processor 2 on a different machine received the message at 4:19At 4:20 we get a WARN Lost Message Lock: {id} Microsoft.ServiceBus.Messaging.MessageLockLostException: The lock supplied is invalid. Either the lock expired, or the message has already been removed from the queue.and from then forward starting at 4:23 and every 4 minutes from then on the new processor renews the lock with no issues.Is there a known issue with locks silently failing to renew, or falsely reporting a successful renewal?
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/9dda94e3-4737-40ad-b4a5-5091cc85fae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/9d881479-dbb2-4806-b5e1-a480173e3f9c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/f9230d6c-7a0d-4664-bcc0-e2ce71d4deef%40googlegroups.com.