Skip to content
New issue

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

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

Already on GitHub? Sign in 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

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

No branches or pull requests

2 participants