Server messages sent by a StompBrokerJS server don't have the destination: header described in the STOMP protocol for server messages.
This line
|
args.frame.headers.subscription = sub.id; |
sets the subscription header with the destination value. Instead of setting a subscription header, the
destination: header should be populated with the destination value instead to match the STOMP protocol.
Maybe I am mistaken?
Server messages sent by a StompBrokerJS server don't have the
destination:header described in the STOMP protocol for server messages.This line
StompBrokerJS/stompServer.js
Line 356 in 04ca0d3
sets the subscription header with the destination value. Instead of setting a subscription header, the
destination:header should be populated with the destination value instead to match the STOMP protocol.Maybe I am mistaken?