ActiveMQ - Do I need to re-subscribe to a queue after the Listener event fires?
问题 I am integrating with an ActiveMQ JMS system using the Apache.NMS library. For the response queue listener, it's not clear whether the consumer is disposed after a message is received. Here are excerpts from the solution: var destination = getDestination(session, Settings.Instance.OutboundQueue); // Create a consumer and producer using (var consumer = session.CreateConsumer(destination)) { // Start the connection so that messages will be processed. connection.Start(); consumer.Listener +=