-
Notifications
You must be signed in to change notification settings - Fork 110
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
Using a predeclared exchange that does not exist creates it #282
Comments
Oh boy, this goes back to fc02da2. |
So this is the condition: if (!predeclared || !exchangeExists(connection, exchangeName)) {
channel.exchangeDeclare(exchangeName, exchangeType);
topologyRecording.recordExchange(exchangeName, exchangeType);
} It's been there since the beginning of time, it's been changed, reverted, etc. I don't really know what's the best thing to do here :) |
So you're in the case when This is surprising, but we're telling PerfTest to publish to something that does not exist, is it really what we want? |
Arguably |
So you're suggesting that PerfTest should never create exchanges when |
Running the following command creates an exchange:
Since this exchange does not exist, it should not be created since we use the
--predeclared true
flag.The text was updated successfully, but these errors were encountered: