Project: mule
Issue MULE-7329: Number of JMS consumers decreases to 1 after reconnection
After reconnection the number of JMS consumers goes from 4 to 1 (In fact to 0, but goes to 1 after queueing a message). Steps: # Install the attached mule-config.xml # Start an ActiveMQ broker # Copy activemq-all-5.9.0.jar to lib/user # bin/mule -M-Dhttp.port=8811 # Wait for deployment # Go to activemq console and verify that there are 4 consumers on queue *in* # Verify that application works running: curl http://127.0.0.1:8811/jms1 and seeing that one message is queued in queue *out* # Restart activemq broker # Wait for console to be up ## Expected: 4 consumers on queue in ## Actual: 0 consumers # bin/mule -M-Dhttp.port=8811 ## Expected: 4 consumers on queue in ## Actual: 1 consumers I've tried setting {{numberOfConsumers="4"}} in the connector but works in the same way It's a regression since in 3.4.1 and before works as expected Tried to load the application with 1000 requests and the consumer's number remains the same mule-config:
Story points: 5