Added useSSL option while creating connection

This commit is contained in:
Rahul
2020-03-12 10:40:51 +05:30
parent 7d465ca489
commit 68375469c5

View File

@@ -119,6 +119,7 @@ export default {
this.client.connect({
onSuccess: this.onConnectionSuccess,
onFailure: this.onConnectionFailure,
useSSL: true,
})
this.client.onConnectionLost = this.onConnectionLost
this.client.onMessageArrived = this.onMessageArrived
@@ -145,7 +146,6 @@ export default {
})
},
onMessageArrived(message) {
debugger
this.log.push({
payload: `Message: ${message.payloadString} arrived on topic: ${message.destinationName}`,
source: "info",