PHP: Receiving the same published message many times, why?

I’m publishing a message on a custom channel with specific headers.

When I subscribe to the channel and filter the messages by the header, using a custom JAVA class, the message is processed and removed from the channel (I can see it from the console messaging view in the browser).
While using a PHP script, which is called periodically every 10 seconds, the messages is processed BUT it is not removed from the channel. Hence I receive the same message many times!
Could you explain me why it happens?
Thanks for the answer!

Hi Starscream,
Please provide us the file with the small PHP example to reproduce your issue. You can send it to
Regards, Ilya


I’ve just sent the PHP code example.

Thank you for your support!

When you retrieve with PHP, does the message also stay in console and is never removed?

Yes, it keeps staying in the console and it is removed after a bit of time (around 60 seconds)