node-stomp-client
node-stomp-client copied to clipboard
Large messages break subscribe functionality.
It appears that messages above some certain size break subscription handling.
Tried a code snippet along the lines of:
socketClient.connect(function(){
logger.info("Subscribed");
socketClient.subscribe("/queue/connector", function(body, header){
console.log("Something Happened!")
});
});
When I publish messages into /queue/connector, it seems to handle messages of at least length 3509, but it breaks for messages with length 119858. I haven't zeroed in on the magic number yet.
Additionally, when it fails once at processing the large message, subsequent short messages also start failing.
I added some print statements to the library's lib/client.js frameEmitter's on 'MESSAGE', handler and those don't even get triggered when I publish a large message, so I'm guessing the problem is happening upstream from there.
any chance you could put together a test case for this?
I'll try to put something together for it this evening.
did you ever get this solved ? I'm hitting the same thing