You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by abdo <ab...@gmail.com> on 2012/07/24 19:15:59 UTC
CXF-BC causing performance issue
Hi,
I am deploying a service assembly on servicemix 4.4.2 that is using HTTP and
EIP components. If I add a service unit based on CXF-BC provider, all my
requests response time became very slow.
Previously I was using servicemix 3.3.2 without any performance impact.
Your advises are wellcome.
Thanks.
Abdo
--
View this message in context: http://servicemix.396122.n5.nabble.com/CXF-BC-causing-performance-issue-tp5713972.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: CXF-BC causing performance issue
Posted by abdo <ab...@gmail.com>.
The flow is as following:
external client===>http:endpoint====>EIP*=====>cxfbc:provider====>external
server*
||
||
V
Http:endpoint
||
||
V
External server
and my CXF provider:
<beans xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
xmlns:cxf="http://servicemix.apache.org/cxfbc/1.0"
xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
<import resource="classpath:META-INF/cxf/cxf-extension-http.xml"/>
<import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml"/>
<import resource="classpath:cxf-config.xml"/>
<cxf:provider schemaValidationEnabled="false"
wsdl="/serviceWSDL.wsdl"
locationURI="the_location" service="the_service"
endpoint="endpoint" interfaceName="interfaceName"
useJBIWrapper="false" useSOAPEnvelope="false">
<cxf:providedBus>
<ref bean="cxf"/>
</cxf:providedBus>
</cxf:provider>
</beans>
Thanks.
--
View this message in context: http://servicemix.396122.n5.nabble.com/CXF-BC-causing-performance-issue-tp5713972p5714005.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: CXF-BC causing performance issue
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
So your working flow is like
external client====>http:endpoint====>EIP=====>cxfbc:provider====>external server?
What's the configuration for cxfbc:provider?
Freeman
-------------
Freeman Fang
FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-7-25, at 下午9:57, abdo wrote:
> Thanks Freeman for the reply.
> My workflow is as the following:
>
> 1- http:endpoint as the entry point
> 2- EIP component for the routing rules: this can call different services
> 3- The services can be defined as cxf:provider or http:endpoint
>
> If I take out the cxf service unit, I have no problem but when I put it
> back, the response time become slow.
> I hope I am giving you enough information.
>
> Thanks.
> Abdo.
>
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/CXF-BC-causing-performance-issue-tp5713972p5713988.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: CXF-BC causing performance issue
Posted by abdo <ab...@gmail.com>.
Thanks Freeman for the reply.
My workflow is as the following:
1- http:endpoint as the entry point
2- EIP component for the routing rules: this can call different services
3- The services can be defined as cxf:provider or http:endpoint
If I take out the cxf service unit, I have no problem but when I put it
back, the response time become slow.
I hope I am giving you enough information.
Thanks.
Abdo.
--
View this message in context: http://servicemix.396122.n5.nabble.com/CXF-BC-causing-performance-issue-tp5713972p5713988.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: CXF-BC causing performance issue
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
You should elaborate how you use cxf-bc provider, what's your workflow looks like, etc.
Freeman
-------------
Freeman Fang
FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042
On 2012-7-25, at 上午1:15, abdo wrote:
> Hi,
>
> I am deploying a service assembly on servicemix 4.4.2 that is using HTTP and
> EIP components. If I add a service unit based on CXF-BC provider, all my
> requests response time became very slow.
> Previously I was using servicemix 3.3.2 without any performance impact.
> Your advises are wellcome.
>
> Thanks.
> Abdo
>
>
>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/CXF-BC-causing-performance-issue-tp5713972.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.