On Fri, Jul 25, 2008 at 4:37 PM, bsolrac <[EMAIL PROTECTED]> wrote:
>
> setup
>
>
> servicemix version: 3.1.2 web app
> application server: JBoss 4.2.2
>
> We have a web service deployed on jboss instance A
> We have service mix deployed on jboss instance b
>
> Jboss A is on server A
> Jboss B is also on server A
>
> Scenario
>
> 1. Application sends xml (in/out mep) over http/soap to servicemix
> 2. ServiceMix checks content via EIP ContentBasedRoutingRule
> 3. Routes the xml to HTTP JBI component
> 4. HTTP JBI component sends xml over HTTP/SOAP to web service
> 5. Web service returns output
> 6. servicemix returns output
>
> Service mix Configuration
>
>
> flow=seda
>
> &lt;sm:executorFactory&gt;
> &lt;bean
> class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl"&gt;
> &lt;property name="defaultConfig"&gt;
> &lt;bean class="org.apache.servicemix.executors.impl.ExecutorConfig"&gt;
> &lt;property name="corePoolSize" value="180"/&gt;
> &lt;property name="maximumPoolSize" value="-1"/&gt;
> &lt;property name="queueSize" value="1024"/&gt;
> &lt;property name="keepAliveTime" value="180000"/&gt;
> &lt;/bean&gt;
> &lt;/property&gt;
> &lt;/bean&gt;
> &lt;/sm:executorFactory&gt;
>
> Issue
>
>
> We are recieving 50 concurrent requests in service mix but service mix is
> only sending a maximum of 15 concurrent requests to the web service.
>
> Any clue where the issue is ?
>
> We are going to try switching flow type to st instead of seda.

Have you tried adjusting the thread pools yet?

http://servicemix.apache.org/thread-pools.html

There's also some additional explanation that I provided on the thread
pool executor on the mailing list that is available here:

http://markmail.org/search/?q=servicemix+executor+bruce#query:servicemix%20executor%20bruce+page:1+mid:sxwofyw5r3s3627b+state:results

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Reply via email to