diff --git a/in.bytehue.messaging.mqtt5.example/src/main/java/in/bytehue/messaging/mqtt5/remote/example/MyApplication.java b/in.bytehue.messaging.mqtt5.example/src/main/java/in/bytehue/messaging/mqtt5/remote/example/MyApplication.java index 2e5629e..18b58a6 100644 --- a/in.bytehue.messaging.mqtt5.example/src/main/java/in/bytehue/messaging/mqtt5/remote/example/MyApplication.java +++ b/in.bytehue.messaging.mqtt5.example/src/main/java/in/bytehue/messaging/mqtt5/remote/example/MyApplication.java @@ -29,11 +29,11 @@ public final class MyApplication implements MqttApplication { @Override - public Message doGET( // - final String resource, // - final Message requestMessage, // + public Message doGET( + // @formatter:off + final String resource, + final Message requestMessage, final MqttMessageContextBuilder messageBuilder) throws Exception { - return messageBuilder.content(ByteBuffer.wrap("AMIT".getBytes())).buildMessage(); }