public class MQTTProtocolSupport extends Object
| Constructor and Description |
|---|
MQTTProtocolSupport() |
| Modifier and Type | Method and Description |
|---|---|
static String |
commandType(byte header)
Given an MQTT header byte, determine the command type that the header
represents.
|
static String |
convertActiveMQToMQTT(String destinationName)
Converts an ActiveMQ destination name into a correctly formatted
MQTT destination name.
|
static String |
convertMQTTToActiveMQ(String name)
Converts an MQTT formatted Topic name into a suitable ActiveMQ Destination
name string.
|
public MQTTProtocolSupport()
public static String convertMQTTToActiveMQ(String name)
name - the MQTT formatted topic name.public static String convertActiveMQToMQTT(String destinationName)
destinationName - the ActiveMQ destination name to process.public static String commandType(byte header)
header - the byte value for the MQTT frame header.Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.