Is there a specific method that should be used to close the connection properly?
feed.Close(); is the only method that should be used to close the connection to the AMQP feed server.When Close() is called:
- It shuts down all active feed sessions and terminates the underlying AMQP/RabbitMQ connection
- It stops background tasks (such as health checks and alive monitoring) and releases internal manager caches
- It triggers the
Closedevent (IOddsFeed.Closed) so registered event handlers are notified that the feed was closed