Skip to content

WithPublishOptionsMandatory not return error? #184

Open
@brounnoupegreula-7757

Description

@brounnoupegreula-7757

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions