<i...@centrum.cz> writes: > Because this is my first atempt to work with STOMP I'm not sure if the > problem is not on my side but currently I have no idea what is wrong.
I could reproduce the problem using a recent Apollo snapshot. This looks like an Apollo bug to me. > The test script is here: > http://gist.github.com/5ef9113f6b6aec81bca9 Using your script, Apollo indeed keeps for itself messages in the queue that should be sent. To be noted: the messages are delivered sequentially for some time and then there is a gap: $ perl gistfile1.perl produce (now there are 10k messages in the queue, confirmed by the console) $ perl gistfile1.perl consume Received: 1: Hello world! Tue Apr 24 08:07:28 2012 at gistfile1.perl line 68. [...] Received: 100: Hello world! Tue Apr 24 08:07:28 2012 at gistfile1.perl line 68. Consumed: 100 at gistfile1.perl line 19. (so far so good, first 100 message received) $ perl gistfile1.perl consume Received: 101: Hello world! Tue Apr 24 08:07:28 2012 at gistfile1.perl line 68. [...] Received: 200: Hello world! Tue Apr 24 08:07:28 2012 at gistfile1.perl line 68. Consumed: 100 at gistfile1.perl line 19. (idem) ... $ perl gistfile1.perl consume Received: 901: Hello world! Tue Apr 24 08:07:29 2012 at gistfile1.perl line 68. Received: 902: Hello world! Tue Apr 24 08:07:29 2012 at gistfile1.perl line 68. Received: 903: Hello world! Tue Apr 24 08:07:29 2012 at gistfile1.perl line 68. [...] Received: 984: Hello world! Tue Apr 24 08:07:29 2012 at gistfile1.perl line 68. Received: 985: Hello world! Tue Apr 24 08:07:29 2012 at gistfile1.perl line 68. Received: 986: Hello world! Tue Apr 24 08:07:29 2012 at gistfile1.perl line 68. Received: 3620: Hello world! Tue Apr 24 08:07:30 2012 at gistfile1.perl line 68. Received: 3621: Hello world! Tue Apr 24 08:07:30 2012 at gistfile1.perl line 68. Received: 3622: Hello world! Tue Apr 24 08:07:30 2012 at gistfile1.perl line 68. [...] Received: 3633: Hello world! Tue Apr 24 08:07:30 2012 at gistfile1.perl line 68. Consumed: 100 at gistfile1.perl line 19. (messages 987 to 3619 have not been sent!) Cheers, Lionel