bug report: buffered commands

3 views
Skip to first unread message

Chuck Remes

unread,
Dec 31, 2009, 12:07:56 PM12/31/09
to amq...@googlegroups.com
The system throws up a bunch of flash exceptions under these conditions:

1. MQ.configure({autoConnect: false})

2. You buffer a bunch of calls, e.g. declare some exchanges and
queues, before MQ.onLoad() gets called by the system.

3. Call MQ.connect()

It crashes inside Connection.as.

The fix is to make sure that MQ.connect() is called *before* any calls
to other MQ functions.

cr

Chuck Remes

unread,
Dec 31, 2009, 12:22:12 PM12/31/09
to amq...@googlegroups.com

Sorry, it's more correct to say that calling MQ.connect beforehand is
a workaround.

A fix would be to make sure any dispatched calls are not allowed until
MQ.connect has been dispatched first and the connection is "ready."

cr

Reply all
Reply to author
Forward
0 new messages