GangXu / as3-stomp

Automatically exported from code.google.com/p/as3-stomp
0 stars 0 forks source link

UNKNOWN STOMP FRAME #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Was trying to do a benchmark, and for some reason I randomly get this error 
thrown... 

Shouldn't I be able to catch this error (without modifying the class)? 
Basically, I think the throw new Error should be dispatchEvent(new 
StompErrorEvent.ERROR()) or something...

Here's the code 

var sh:SendHeaders = new SendHeaders();
            sh.addHeader("exchange","amq.topic");
            for (var i:int = 0; i < 3000; i++)
            {
                //sh.addHeader("routing_key","#");
                stmp.send("test", "ABC "+i,sh);
            }
            trace("End");

Each time I run it, I have an UNKNOWN STOMP FRAME thrown at one of the 
packets... Sometimes 910, sometimes 50, sometimes 1400...

Original issue reported on code.google.com by K2xL....@gmail.com on 23 Dec 2010 at 3:30

GoogleCodeExporter commented 8 years ago
Close this, it's actually fixed but the SWC on the downloads is out dated!

Original comment by K2xL....@gmail.com on 23 Dec 2010 at 4:48

GoogleCodeExporter commented 8 years ago
(Well sort of fixed... not all messages are passed... Some don't have an 
MessageEvent dispatched...)

Original comment by K2xL....@gmail.com on 23 Dec 2010 at 4:51