Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client does not handle streams that contain multiple messages #5

Closed
GoogleCodeExporter opened this issue Mar 17, 2016 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. launch ActiveMQ and go to the admin console
2. launch the as3Stomp client
3. in the ActiveMQ admin console go to the send page and enter a message
that contains several hundred characters. Enter 1000 in the "Number of
messages to send" field, and in "Destination" field enter the queue name
that the client subscribed to (e.g., test).

What is the expected output? 

The client should receive all 1000 messages and dispatch a MessageEvent for
each one.

What do you see instead?

The client throws an error after receiving several messages.  The
FrameReader does not parse the messages correctly because the stream
contains multiple messages and the FrameReader only grabs the first one and
 then discards the bytes of the remaining messages.


Original issue reported on code.google.com by dwischu...@gmail.com on 6 Apr 2008 at 8:57

@GoogleCodeExporter
Copy link
Author

Patch submitted by Peter Mulreid.

See http://code.google.com/p/as3-stomp/source/detail?r=10

Original comment by dwischu...@gmail.com on 6 Apr 2008 at 9:03

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

I have this same issue... Just posted a new ticket yesterday. Still occurring...

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant