Added useSSL option while creating connection
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user