Troubleshooting¶
This section collects the most common issues encountered when using ServiceBus.Core and ServiceBus.Core.Rabbit.
The goal is to help identify configuration problems, topology mistakes and runtime failures more quickly.
Common Problem Areas¶
Most issues fall into one of the following categories:
| Area | Typical Symptoms |
|---|---|
| Connection | Unable to connect to RabbitMQ. |
| Serialization | Messages cannot be serialized or deserialized. |
| Topology | Exchanges, queues or bindings are missing. |
| Retry | Messages are not retried as expected. |
| Delivery Confirmation | Publishers do not receive acknowledgements. |
| Channel Events | Unexpected channel shutdowns or callback exceptions. |
Recommended Diagnostic Workflow¶
When investigating a problem:
- Verify the RabbitMQ connection.
- Verify the formatter configuration.
- Verify the descriptor configuration.
- Verify the generated RabbitMQ topology.
- Verify publisher and subscriber logs.
- Enable channel events when additional diagnostics are needed.
graph TD
Connection["Connection"]
Formatter["Formatter"]
Descriptor["Descriptor"]
Topology["RabbitMQ Topology"]
Runtime["Runtime Behavior"]
Connection --> Formatter
Formatter --> Descriptor
Descriptor --> Topology
Topology --> Runtime
Useful Tools¶
The following RabbitMQ tools are useful when troubleshooting:
- RabbitMQ Management UI
- RabbitMQ Logs
- RabbitMQ Definitions Export
- RabbitMQ Queue Inspection
- RabbitMQ Exchange Inspection
Related Topics¶
See:
RabbitMQ / Concepts
RabbitMQ / How To
RabbitMQ / Reference
for additional details regarding topology and runtime behavior.