Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topic name with '/' will be replaced with '.' (for activemq) #234

Open
1767549189 opened this issue Feb 24, 2021 · 2 comments
Open

topic name with '/' will be replaced with '.' (for activemq) #234

1767549189 opened this issue Feb 24, 2021 · 2 comments

Comments

@1767549189
Copy link

js code:

client.subscribe("fnd_wlw_device_notify_to_customer/p2p/WIFIM_C89346F7A075");

the connection info you can see in activemq

image

@hippo-io
Copy link

hippo-io commented Jun 28, 2022

same issue

browser side

 client.subscribe("mqtt/demo2"); 

PC side

ch.Publish("amq.topic","mqtt/demo2",...)

different topic

To Routing key Arguments  
browser.mqtt.client mqtt.demo2    
pc.mqtt.client mqtt/demo2    

@GOinfo-Ltd
Copy link

This is the same with RabbitMQ. They use the "." as a separator instead of the "/", to be more in line with their AMQP part.

It's not an issue with Paho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants