2 * Copyright (c) 2010-2021 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.mqtt;
16 * MQTT embedded broker constants
18 * @author David Graeff - Initial contribution
20 public class Constants {
22 * The broker connection client ID. You can request the embedded broker connection via the MqttService:
25 * MqttBrokerConnection c = mqttService.getBrokerConnection(Constants.CLIENTID);
28 public static final String CLIENTID = "embedded-mqtt-broker";
31 * The broker persistent identifier used for identifying configurations.
33 public static final String PID = "org.openhab.core.mqttembeddedbroker";
36 * The configuration key used for configuring the embedded broker port.
38 public static final String PORT = "port";