erwindon commented on PR #4541:
URL: 
https://github.com/apache/activemq-artemis/pull/4541#issuecomment-1624196226

   @clebertsuconic
   > what's the point of using the same subscription between MQTT and AMQP 
anyways[...]
   
   but that was not the intention...
   I was investigating a scenario where MQTT messages were published using a 
MQTT connection and then consumed as AMQP messages using an AMQP connection. 
Obviously with Artemis in the middle. But I goofed on the configuration of the 
delimiter, so the defaults still applied. The mistake was that I had placed the 
whole {{wildcard-addresses}} block just after the {{core}} section in the 
config.
   the MQTT connection published on topic {{aaa/bbb/ccc}} but Artemis converted 
that to address {{aaa.bbb.ccc}} inside the broker.
   but for AMQP, no conversion takes place and Artemis uses the address 
{{aaa/bbb/ccc}} as given by the consumer.
   this mismatch prevented messages from reaching their destination application.
   this problem was quickly solved by your team's comments ("no problem here!") 
and myself verifying the config one more time, and then fixing that.
   
   the cosmetic issue that I tried to solve in _this_ PR was just something 
that I found while investigating how addresses were handled by the MQTT 
protocol handler to solve the above problem. This PR was about the generated 
queue names for the MQTT subscriptions only that I found to be slightly 
inconsistent.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to