Skip to main content



      Home
Home » Newcomers » Newcomers » Jetty with MQTT subscribe
Jetty with MQTT subscribe [message #1862665] Tue, 19 December 2023 14:00 Go to next message
Eclipse UserFriend
I am trying to find a technology that will be able to act as a web server, serving servlets and at the same time subscribe to mqtt messages. It is straight forward to publish mqtt messages, but need a way to listen to events.

I can describe the application more, it is basically an application that manages a set of esp devices with information in a database. Each device needs to update its state on the database and the devices can publish and subscribe to mqtt messages.

the user interface for the application is provided by jetty.

I think the question is, does it seem reasonable that an embedded jetty server can be used in conjunction with an mqtt client where the client translates the mqtt messages into http put requests to the jetty server.
Re: Jetty with MQTT subscribe [message #1862667 is a reply to message #1862665] Tue, 19 December 2023 22:19 Go to previous message
Eclipse UserFriend
You can use Mosquitto, an open-source MQTT broker, to send data from MQTT topics to a web server. You can also use the Eclipse Paho MQTT JavaScript client to communicate with the broker.

[Updated on: Wed, 20 December 2023 20:26] by Moderator

Previous Topic:Tomcat and Eclipse Error
Next Topic:Efficient Strategies for Refactoring Large Codebases in Eclipse with Multiple Dependencies
Goto Forum:
  


Current Time: Sat May 24 19:09:40 EDT 2025

Powered by FUDForum. Page generated in 0.07849 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top