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

WithPublishOptionsMandatory not return error? #184

Open
brounnoupegreula-7757 opened this issue Sep 1, 2024 · 0 comments
Open

WithPublishOptionsMandatory not return error? #184

brounnoupegreula-7757 opened this issue Sep 1, 2024 · 0 comments

Comments

@brounnoupegreula-7757
Copy link

brounnoupegreula-7757 commented Sep 1, 2024

hi guys when i dont have exchange or queue why this WithPublishOptionsMandatory not return error insted just inform logger error exchange not found and try reconnect it? there is method if no exchange or queue i dont want to publish message?

already use WithPublishOptionsExchange, but still is just inform not return error in .publish

{"level":"error","ts":"2024-09-01T18:18:03+07:00","msg":"attempting to reconnect to amqp server after close with error: Exception (404) Reason: \"NOT_FOUND - no exchange 'event' in vhost '/'\""}
{"level":"info","ts":"2024-09-01T18:18:03+07:00","msg":"waiting 5s seconds to attempt to reconnect to amqp server"}

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