Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.12.2, 2.14.0
-
None
-
Unknown
Description
MQTT consumer sets its subscribeTopicName as a exchange property, and it will be used by MQTT producer as a destination if it exists in the route.
If you have a following route:
from("mqtt:input?subscribeTopicName=topicIn") .to("mqtt:output?publishTopicName=topicOut");
MQTT consumer put "topicIn" to "MQTTTopicPropertyName" exchange property, and MQTT producer uses this property to determine a destination topic to publish. Then MQTT producer ignores publishTopicName and send a message to "topicIn", so MQTT consumer consumes the message again, eventually it causes infinite delivery. We need to stop this property to be used as a destination for producer.
Attachments
Issue Links
- relates to
-
CAMEL-8228 camel-mqtt - From mqtt to mqtt fails sending to specified publishTopicName
- Resolved