We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36016b9 + 8980e34 commit 6ae4b9aCopy full SHA for 6ae4b9a
src/main/java/com/rabbitmq/client/amqp/impl/AmqpConsumer.java
@@ -130,14 +130,14 @@ final class AmqpConsumer extends ResourceBase implements Consumer {
130
this.nativeCloseHandler);
131
this.initStateFromNativeReceiver(this.nativeReceiver);
132
this.metricsCollector = this.connection.metricsCollector();
133
+ this.state(OPEN);
134
try {
135
this.nativeReceiver.addCredit(this.initialCredits);
136
} catch (ClientException e) {
137
AmqpException ex = ExceptionUtils.convert(e);
138
this.close(ex);
139
throw ex;
140
}
- this.state(OPEN);
141
this.metricsCollector.openConsumer();
142
143
0 commit comments