You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to disable a Reactive messaging channel using the provided config, there is a failure on startup that the emitter could not connect (see exception below).
mp.messaging.outgoing.<channel>.enabled=false
Quarkus should properly handle this config, since it is part of the Microprofile Messaging suite.
Expected behavior
Quarkus starts up successfully
Actual behavior
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:121)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:77)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:48)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:137)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:68)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:36)
Caused by: jakarta.enterprise.inject.spi.DefinitionException: SRMSG00019: Unable to connect an emitter with the channel `my-channel`
at io.smallrye.reactive.messaging.providers.extension.ChannelProducer.getEmitter(ChannelProducer.java:225)
at io.smallrye.reactive.messaging.providers.extension.ChannelProducer.produceEmitter(ChannelProducer.java:173)
at io.smallrye.reactive.messaging.providers.extension.ChannelProducer_ProducerMethod_produceEmitter_jRfYFqSs8A2Ams_fdlkwttyVQ3w_Bean.doCreate(Unknown Source)
at io.smallrye.reactive.messaging.providers.extension.ChannelProducer_ProducerMethod_produceEmitter_jRfYFqSs8A2Ams_fdlkwttyVQ3w_Bean.create(Unknown Source)
at io.smallrye.reactive.messaging.providers.extension.ChannelProducer_ProducerMethod_produceEmitter_jRfYFqSs8A2Ams_fdlkwttyVQ3w_Bean.get(Unknown Source)
at io.smallrye.reactive.messaging.providers.extension.ChannelProducer_ProducerMethod_produceEmitter_jRfYFqSs8A2Ams_fdlkwttyVQ3w_Bean.get(Unknown Source)
at io.quarkus.arc.impl.CurrentInjectionPointProvider.get(CurrentInjectionPointProvider.java:48)
How to Reproduce?
Reeproducer
Add the config mp.messaging.outgoing.<channel>.enabled=false to a service using channels/emitters
Output of uname -a or ver
No response
Output of java -version
Eclipse Temurin JDK 17
Quarkus version or git rev
Quarkus 3.18.1
Build tool (ie. output of mvnw --version or gradlew --version)
Gradle 8.12.1
Additional information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to disable a Reactive messaging channel using the provided config, there is a failure on startup that the emitter could not connect (see exception below).
Quarkus should properly handle this config, since it is part of the Microprofile Messaging suite.
Expected behavior
Quarkus starts up successfully
Actual behavior
How to Reproduce?
Reeproducer
mp.messaging.outgoing.<channel>.enabled=false
to a service using channels/emittersOutput of
uname -a
orver
No response
Output of
java -version
Eclipse Temurin JDK 17
Quarkus version or git rev
Quarkus 3.18.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.12.1
Additional information
No response
The text was updated successfully, but these errors were encountered: