Hi,
No, I don't think you also need configure cxf executor, if you
configure executor for the jaxws endpoint, actually all the
processing is still on the main thread, until
before the invoke call, a runnable will be put on the give executor
which will make the invoke on a background thread, but the main thread
will wait for a response.
The jms configuration I suggest here enable multiple threads from
transport level to get message from queue concurrently and then
dispatch to upstream cxf.
Freeman
On 2011-12-14, at 上午12:05, Benson Margulies wrote:
On Mon, Dec 12, 2011 at 9:48 PM, Freeman Fang <[email protected]>
wrote:
Hi,
You can add property like
<property name="concurrentConsumers">
<value>5</value>//or whatever you want
</property>
to org.apache.cxf.transport.jms.JMSConfigFeature.
Freeman: how is this related to just using an Executor with multiple
threads? Do I need both?
Freeman
On 2011-12-13, at 上午12:36, Benson Margulies wrote:
How would I go about allowing multiple threads to handle requests
coming over SOAP-over-JMS?
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com