How to Tune JMS Adapters How to Tune AQ Adapters

28-20 Developers Guide for Oracle Application Integration Architecture Foundation Pack For more information about Oracle Adapters, see Oracle Fusion Middleware Users Guide for Technology Adapters.

28.6.1 How to Tune JMS Adapters

This section describes some of the properties that can be set for the Oracle SOA JMS Adapter to optimize performance. For more information, see Introduction to the Oracle JMS Adapter in Oracle Fusion Middleware Users Guide for Technology Adapters. If during stress it is taking time to read the messages off the queue, then the JMS adapter thread shown in Example 28–4 can be increased to get the desired output. The following parameter must be set in the bpel.xml property file to achieve the above purpose: To improve performance, the adapter.jms.receive.threads property can be tuned for an adapter service. The default value is 1, but multiple inbound threads can be used to improve performance. When specified, the value of adapter.jms.receive.threads is used to spawn multiple inbound poller threads. Be very cautious about increasing the value for this property. Increasing the value increases the load for the Fusion Middleware Server and puts additional stress on the downstream systems such as application systems and databases. Consider increasing the value only when the CPU is underutilized. Example 28–4 shows the parameter that must be set in the composite.xml property file to achieve the above purpose. Example 28–4 Tuning JMS Adapters Using the composite.xml Property File activationAgents activationAgent className=… partnerLink=MsgQueuePL ... property name=adapter.jms.receive.threads5property activationAgent activationAgents activationAgents activationAgent className=… partnerLink=MsgQueuePL ... property name=adapter.jms.receive.threads5property activationAgent

28.6.2 How to Tune AQ Adapters

If during stress it is taking time to read the messages off the queue, then the AQ adapter thread shown in Example 28–5 can be increased to get the desired output. The following parameter must be set in the bpel.xml property file to achieve the above purpose: To improve performance, the adapter.aq.receive.threads property can be tuned for an adapter service. The default value is 1, but multiple inbound threads can be used to improve performance. When specified, the value of adapter.aq.receive.threads is used to spawn multiple inbound poller threads. Be very cautious about increasing the value for this property. Increasing the value increases the load for the Fusion Middleware Server and puts additional stress on the downstream systems such as application systems and databases. Consider increasing the value only when the CPU is underutilized. Example 28–5 shows the parameter that must be set in the composite.xml property file to achieve the above purpose. Tuning Integration Flows 28-21 Example 28–5 Tuning AQ Adapters Using the composite.xml Property File service name=dequeue ui:wsdlLocation=dequeue.wsdl interface.wsdl interface=http:xmlns.oracle.compcbpeladapteraqrawrawdequeuewsdl.interfa ceDequeue_ptt binding.jca config=dequeue_aq.jca property name=adapter.aq.dequeue.threads type=xs:string many=false5property binding.jca service service name=dequeue ui:wsdlLocation=dequeue.wsdl

28.6.3 How to Tune Database Adapters