The node broker run in nodejs
Debugger listening on ws://127.0.0.1:9229/8e90f57c-84bd-49ce-8b41-f9e626d23132
For help, see: https://nodejs.org/en/docs/inspector
Connect id207227774120221540000
CONNECT id207227774120221540000 { client: 10000, server: 10000 } { 'accept-version': '1.0', 'heart-beat': '10000,10000' }
Server subscribe sub-1601805535061-486 /echo
topic:/echo messageType: string Bonjour { destination: '/echo',
'content-length': 7,
bytes_message: true,
subscription: 'self_15317701541' }
After the reply
I have the callstack
TypeError: Cannot read property '0' of undefined
at StompServer._checkSubMatchDest (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:495:21)
at StompServer._sendToSubscriptions (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:353:24)
at StompServer. (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:207:10)
at callNext (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:125:31)
at StompServer.onSend (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:129:14)
at StompServer. (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:389:10)
at StompServer.stompServer.subscribe (E:\nodeproject\octree\server.js:52:17)
at StompServer.emit (events.js:198:13)
at StompServer.EventEmitter.emit (domain.js:448:20)
at StompServer._sendToSubscriptions (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:361:16)
When i debug i watch a wrong value in for loop of The variable i increment correctly 0 , 1 and then containt "indexOKey"
this._sendToSubscriptions = function (socket, args) {
for (var i in this.subscribes) {
var sub = this.subscribes[i];
The node broker run in nodejs
Debugger listening on ws://127.0.0.1:9229/8e90f57c-84bd-49ce-8b41-f9e626d23132
For help, see: https://nodejs.org/en/docs/inspector
Connect id207227774120221540000
CONNECT id207227774120221540000 { client: 10000, server: 10000 } { 'accept-version': '1.0', 'heart-beat': '10000,10000' }
Server subscribe sub-1601805535061-486 /echo
topic:/echo messageType: string Bonjour { destination: '/echo',
'content-length': 7,
bytes_message: true,
subscription: 'self_15317701541' }
After the reply
I have the callstack
TypeError: Cannot read property '0' of undefined
at StompServer._checkSubMatchDest (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:495:21)
at StompServer._sendToSubscriptions (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:353:24)
at StompServer. (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:207:10)
at callNext (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:125:31)
at StompServer.onSend (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:129:14)
at StompServer. (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:389:10)
at StompServer.stompServer.subscribe (E:\nodeproject\octree\server.js:52:17)
at StompServer.emit (events.js:198:13)
at StompServer.EventEmitter.emit (domain.js:448:20)
at StompServer._sendToSubscriptions (E:\nodeproject\octree\node_modules\stomp-broker-js\stompServer.js:361:16)
When i debug i watch a wrong value in for loop of The variable i increment correctly 0 , 1 and then containt "indexOKey"
this._sendToSubscriptions = function (socket, args) {
for (var i in this.subscribes) {
var sub = this.subscribes[i];