Pages in Dev-guide

Consuming Messages from Java


To illustrate how Eclipse Hono™ can be integrated with Java code, a simple application is provided that consumes telemetry and event data for devices belonging to the default tenant. It also includes support for Command and Control: if indicated by a received downstream message that contains a ttd value (refer to Device notifications for details) it tries to send a command to the device. If the value of ttd indicates that the device stays connected for an unlimited time (ttd == -1), the application will periodically repeat to send a command until notified the device is disconnected again (ttd == 0).
[...]

Sending Messages from Java


To illustrate how Eclipse Hono™ can be integrated with Java code, a simple program is provided that sends telemetry or event data to the default tenant from a device. It shall serve as a blueprint to integrate your existing java source code with Hono. The code is found in the example module in the package org.eclipse.hono.vertx.example. The provided classes are kept as simple as possible (in the tradition of a classical “Hello World” implementation).
[...]

Implement a Custom Hono HTTP Protocol Adapter


Eclipse Hono™ comes with a default HTTP Adapter which can be used to interact with devices via HTTP. The default HTTP Adapter also serves as a blueprint for implementing a custom HTTP protocol adapter.
[...]