Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose "MessageVisibilityTimeout" Setting without EnableMessageDrivenPubSubCompatibilityMode #2162

Closed
jdaigle opened this issue May 10, 2023 · 1 comment

Comments

@jdaigle
Copy link

jdaigle commented May 10, 2023

Describe the feature.

Is your feature related to a problem? Please describe.

The message visibility for the SQS ReceiveMessageRequest is not set by default, which means the default queue setting is used. It is desirable to sometimes change this for an endpoint without changing the default queue setting.

Unfortunately the public API only allows changing this setting after turning on "EnableMessageDrivenPubSubCompatibilityMode", which is not desirable.

Describe the requested feature

New property on SqsTransport for MessageVisibilityTimeout, which defaults to null.

Describe alternatives you've considered

Manually calling settings.Set("NServiceBus.AmazonSQS.MessageVisibilityTimeout", timeoutInSeconds);

Additional Context

No response

@jdaigle
Copy link
Author

jdaigle commented May 10, 2023

Duplicate of #1002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant