Deploying and Managing Apama Applications > The Apama Web Services Client Adapter > Upstream multithreading > Specifying upstream multithreading transport properties
Specifying upstream multithreading transport properties
By default the Web Services Client adapter does not use an upstream thread pool (or upstream queue) and upstream processing takes place in the default thread. If you want to use upstream multithreading, the minUpstreamThreads property needs to be set. You can also set the maxUpstreamThreads and upstreamQueueSize properties.
*minUpstreamThreads - There is no default for this property, which means that the adapter does not use an upstream thread pool. When this property is specified, an upstream thread pool and queue is used. Note that these threads are only used to perform the input mapping part of the WebService workflow.
*maxUpstreamThreads - This property is only applicable if the minUpstreamThreads property is set. If not specified, the default value for this property is twice the value of the minUpstreamThreads property.
*upstreamQueueSize - This property is only applicable if the minUpstreamThreads property is set. If not specified, the default value for this property is 20000.
You add these property settings to the adapter instance's XML code as follows:
1. In the Project Explorer, expand the project’s Adapters node and then expand the WebServices Client Adapter node.
2. Double-click the entry for the adapter instance you want to configure. This opens the adapter instance configuration in the Web Service adapter editor.
3. In the Web Service adapter editor, select the XML Source tab.
4. In the adapter's <transport> element add a <property> sub-element, specifying the name attribute of the property you want and its value attribute.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.