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

Add constant for default exchange #139

Merged

Conversation

marlongerson
Copy link
Contributor

@marlongerson marlongerson commented Dec 5, 2022

Defining a constant for the default exchange is clearer than using an empty string "".

@lukebakken lukebakken added this to the 1.6.0 milestone Dec 5, 2022
@lukebakken lukebakken self-assigned this Dec 5, 2022
@lukebakken
Copy link
Contributor

lukebakken commented Dec 5, 2022

Thanks. I'd like to see this moved to a separate set of constants, because the default exchange is not an exchange type, it's the name of a direct exchange.

@Zerpet @Gsantomaggio @michaelklishin any other "well known" names for things in RabbitMQ like the default exchange? I'm drawing a blank right now and I blame my cold.

Copy link
Member

@michaelklishin michaelklishin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with @lukebakken.

The only standard name I can think of is not particularly creative: DefaultExchange.

@michaelklishin michaelklishin merged commit 1e67c9e into rabbitmq:main Dec 6, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants