Skip to content

Exception in Service Kills Consumer #1

@devinfoley

Description

@devinfoley

I perform some database operations in my rabbitQueue listener service via GORM. Occasionally, under high volume, I get a org.springframework.dao.CannotAcquireLockException. This causes the associated consumer to hang, and eventually, all consumers get hung and stop processing messages. At this point, I have to restart RabbitMQ to get things going again.

I'm just running save() on a domain model with semi high volume (1-2 million per day).

I plan to find and fix the cause of my CannotAcquireLockException but it would be nice if the RabbitMQ was more fault tolerant as well. Is this something that can be handled by the plugin?

Thanks!

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