« Return to Thread: Queue does not drain completely.

Queue does not drain completely.

by RakeshRay :: Rate this Message:

Reply to Author | View in Thread

Just installed Active MQ 5.2.
Using Stomp, inserted 5000 msgs and try to read the same with
while ( my $msg = $stomp->read() ) {
        $stomp->commit();
        print $msg.$/;
}
It leaves 2 messages in the queue, just reads 4998 and comes out.

Any suggestions?

 « Return to Thread: Queue does not drain completely.