Skip to content

autoStart configuration for rabbitmq plugin #24

@rubindersingh

Description

@rubindersingh

Currently, rabbitmq plugin create and start listeners at bootstrap time. It would be more convenient if autoStart configuration could be added like "disableListening" to configure that if we want to start consumers to consume messages at the time of creation or not. We are facing issue that when rabbitmq is configured and started, it starts consuming messages and then call services to perform operations. Many a times, service class beans are not yet initialized which lead to errors in processing messages. If we could stop consumers to read from queue until manuall start at later point of time in grails application bootstrap's init block. Then, this problem can be avoided. As consumers will not start reading messages from queues until directed.
If you did not understand problem or need further inputs, please revert.

Regards,
Rubinder Singh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions