mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
removed file separator when creating mqtt subscriber topic
This commit is contained in:
parent
07ebc9f783
commit
d9fd45e5ab
@ -42,9 +42,8 @@ public class ConnectedCupMQTTConnector extends MQTTTransportHandler {
|
||||
private static String serverName = DeviceManagementConfigurationManager.getInstance().
|
||||
getDeviceManagementServerInfo().getName();
|
||||
|
||||
private static String subscribeTopic = "wso2" + File.separator + "+" + File.separator +
|
||||
ConnectedCupConstants.DEVICE_TYPE + File.separator + "+" + File.separator
|
||||
+ "connected_publisher";
|
||||
private static String subscribeTopic = "wso2/+/" + ConnectedCupConstants.DEVICE_TYPE + "/+/"
|
||||
+ "connected_publisher";
|
||||
|
||||
private static String iotServerSubscriber = UUID.randomUUID().toString().substring(0, 5);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user