Skip to content
New issue

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

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

Already on GitHub? # to your account

MultipleConsumer ignores messages count limit #40

Open
skrivy opened this issue May 26, 2016 · 0 comments
Open

MultipleConsumer ignores messages count limit #40

skrivy opened this issue May 26, 2016 · 0 comments
Labels

Comments

@skrivy
Copy link

skrivy commented May 26, 2016

Having following configuration:

rabbitmq:
    consumers:
        singlejob:
            queue: { name: 'singlejob', passive: true }
            callback: [ @App\Consumer\SingleJobConsumer, process ]
        multipleJob:
            queues:
                multiplejob.low:
                    passive: true
                    callback: [ @App\Consumer\MultipleJobConsumer, process ]
                multiplejob.high:
                    passive: true
                    callback: [ @App\Consumer\MultipleJobConsumer, process ]

Everything works for single job - it dies after 1 message is processed:

php index.php rabbitmq:consumer -m 1 singleJob

When testing multiplejobs - the process never dies and still consumes incoming messages:

php index.php rabbitmq:consumer -m 1 multipleJob

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants