>

Monday, October 26, 2015

WSO2 ESB unable to consume messages form JMS Queue


When there are large number of jms consumers in WSO2 ESB, you'll get a warning saying

"WARN {org.apache.axis2.transport.jms.JMSListener} -  Polling tasks on destination : testQueue of type queue for service test_ps have not yet started after 3 seconds ."


And the proxy service will not be able to consume the messages from the queue.

This is because there are not enough threads to consume messages from jms queues.You can increase the number threads used for jms transport  as mentioned below.

  • Create a file  jms.properties in <ESB_HOME> directory
  • Add the following properties to the created file
                      snd_t_core=200
                      snd_t_max=250

No comments:

Post a Comment