The Java Message Service (JMS) transport of the WSO2 Enterprise Integrator (WSO2 EI) allows you to easily send and receive messages to queues and topics of any JMS service that implements the JMS specification. The following sections describe how you can tune the JMS transport of WSO2 EI for better performance.
...
- Open the integrator.sh or integrator.bat file in your
<EI_HOME>/bin
directory for editing. Change the values of the properties as follows:
Tip If you do not have the following properties in the
integrator.sh
orintegrator.bat
files, add them with the given values.-Dlst_t_core=200
-Dlst_t_max=250
-Dsnd_t_core=200
-Dsnd_t_max=250
...
Add the following parameters to the JMS listener configuration of the <EI_HOME>/conf/axis2/axis2.xml
file:
Code Block | ||
---|---|---|
| ||
<parameter name="transport.jms.ConcurrentConsumers" locked="false">50</parameter> <parameter name="transport.jms.MaxConcurrentConsumers" locked="false">50</parameter> |
...
Add the following parameter to the JMS listener configuration of the <EI_HOME>/conf/axis2/axis2.xml
file to enable caching:
Code Block | ||
---|---|---|
| ||
<parameter name="transport.jms.CacheLevel">consumer</parameter> |
...
Add the following parameter to the JMS sender configuration of the <EI_HOME>/conf/axis2/axis2.xml
file:
Code Block | ||
---|---|---|
| ||
<parameter name="transport.jms.CacheLevel">producer</parameter> |
...