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
Expected Behavior
Receive an exception, which explicitly states that the system is in initialization and, therefore, is not ready to receive messages.
Current Behavior
While doing a basic attempt of sending a message to a MQTT topic from "@PostConstruct", the system throws an exception, which states
Caused by: org.springframework.messaging.MessageDeliveryException: Dispatcher has no subscribers for channel 'application.mqttOutboundChannel'.
...
Caused by: org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers
Context
Started learning Spring Integration. One of the things I wanted to accomplish was to send a message to Mosquitto MQTT topic. I went through the things I could find by Googling (I wish there was more material like "Spring Integration. How to write your first MQTT/Kafka/Something project"... because all material, which is not dated "5+ years ago" was 2 hour youtube video... and a few others), and, as it always is with this kind of things, "missed something essential" not really understanding what is the cause.
The text was updated successfully, but these errors were encountered:
First of all, I do realize that this is something I overlooked while I was testing (still learning the ropes), so it is more of an "it would be nice to have". Also, it is a follow-up to a https://stackoverflow.com/questions/79451785/spring-integrations-sending-messages-to-mqtt, where, after finding the issue, I was suggested to open an Issue here.
Expected Behavior
Receive an exception, which explicitly states that the system is in initialization and, therefore, is not ready to receive messages.
Current Behavior
While doing a basic attempt of sending a message to a MQTT topic from "@PostConstruct", the system throws an exception, which states
Context
Started learning Spring Integration. One of the things I wanted to accomplish was to send a message to Mosquitto MQTT topic. I went through the things I could find by Googling (I wish there was more material like "Spring Integration. How to write your first MQTT/Kafka/Something project"... because all material, which is not dated "5+ years ago" was 2 hour youtube video... and a few others), and, as it always is with this kind of things, "missed something essential" not really understanding what is the cause.
The text was updated successfully, but these errors were encountered: