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

get Message when published from server #1

Open
bhaktigohel opened this issue May 9, 2018 · 0 comments
Open

get Message when published from server #1

bhaktigohel opened this issue May 9, 2018 · 0 comments

Comments

@bhaktigohel
Copy link

bhaktigohel commented May 9, 2018

Hello ,

I go through the code and changed mqtt url and subscription topic because 'ws://test.mosca.io/' was unreachable at that moment and added my mqtt server url and topic and getting all the messages published from server instand I just want to get only last message published from server.

My changes in App.js are as under.

const MessageContainer = subscribe({topic: 'Kitchen'})(_MessageContainer);
<Connector mqttProps="mqtt://localhost:1889">

Thank You.

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

1 participant