Handling Bunny::ChannelLevelException
mainAMQP channel exceptions are indications from the broker that an issue occurred during a specific operation. These are typically not fatal to the entire connection and can be recovered from.
Common causes include:
- Re-declaring an exchange with different attributes (e.g., changing durability).
- Re-declaring a queue with different attributes (e.g., changing auto-delete status).
- Attempting to bind a queue to an exchange that does not exist.
These exceptions will be subclasses of Bunny::ChannelLevelException. You should implement logging for these to identify configuration mismatches.