Dear,
I hava meet a question about RabbitMQ with Servlet.
I was confused about the life cycle of Servlet and RabbitMQ server.
For Example:
I open rabbitmq-server connection in init() ,and then send topic message in post() or get() method of servlet, finally I closed the connection in destroy() method.
is this way correct? I also find connection error when using servlet & rabbitmq in this way.
Looking for your kind help.
Best Wishes.