activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Hoover <roger.hoo...@gmail.com>
Subject Re: Queue does not drain completely.
Date Thu, 02 Jul 2009 08:57:29 GMT
Maybe you meant to call  $stomp->receive_frame() in the while loop instead?

On Wed, Jul 1, 2009 at 1:15 PM, RakeshRay <Rakesh.Ray@proquest.com> wrote:

>
> 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?
> --
> View this message in context:
> http://www.nabble.com/Queue-does-not-drain-completely.-tp24296039p24296039.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message