You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by xlding <xl...@talend.com> on 2012/07/11 09:06:27 UTC

during install route bundle in karaf,donot want to Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory

There  is camel route designed  by camel cxf component
cCXF1- cMessageEndpoint -cCXF2,
For the cCXF2,the addess is configured as
http://provider:9088/services/tesb.test.participants.osgi.ufp.provider/soap/StandardTestServiceProvider/

For this addess,the endpoint is configured as :
   
    <jaxws:endpoint id="ufpServiceProviderEndpoint"
        implementor="#ufpServiceProviderBean"
endpointName="endp:ufpServiceProvider"
        serviceName="srv:ufpServiceProvider"
address="http://provider:9088/services/tesb.test.participants.osgi.ufp.provider/soap/StandardTestServiceProvider/"
        xmlns:endp="http://services.test.esb.talend.org/ufp/ufpService"
        xmlns:srv="http://services.test.esb.talend.org/ufp/ufpService">
</jaxws:endpoint>

When I install the route bundle in TESB container by JMX,the log is about :

1.	Adding route 
2.	Starting route 
3.	Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@11faddd:
defining beans
[cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,….jobTestComponentBean,jobTestExporter,groovyDelegateFactory,ufpServiceProviderBean,ufpServiceProviderEndpoint]; 

Why there is step3,can I avoid step3?


--
View this message in context: http://camel.465427.n5.nabble.com/during-install-route-bundle-in-karaf-donot-want-to-Pre-instantiating-singletons-in-org-springframewoy-tp5715839.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: during install route bundle in karaf,donot want to Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory

Posted by xlding <xl...@talend.com>.
http://camel.465427.n5.nabble.com/file/n5715911/config.zip config.zip 
it is about the jmx,spring,osgi config,i am confused after install route in
karaf by jmx,the "Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory"
> happen again.

--
View this message in context: http://camel.465427.n5.nabble.com/during-install-route-bundle-in-karaf-donot-want-to-Pre-instantiating-singletons-in-org-springframewoy-tp5715839p5715911.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: during install route bundle in karaf,donot want to Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory

Posted by Willem Jiang <wi...@gmail.com>.
It looks like there are some spring configuration file is loaded.
I'm not sure how your camel route is loaded, so I cannot provide more 
information about it.

On Wed Jul 11 15:06:27 2012, xlding wrote:
> There  is camel route designed  by camel cxf component
> cCXF1- cMessageEndpoint -cCXF2,
> For the cCXF2,the addess is configured as
> http://provider:9088/services/tesb.test.participants.osgi.ufp.provider/soap/StandardTestServiceProvider/
>
> For this addess,the endpoint is configured as :
>
>      <jaxws:endpoint id="ufpServiceProviderEndpoint"
>          implementor="#ufpServiceProviderBean"
> endpointName="endp:ufpServiceProvider"
>          serviceName="srv:ufpServiceProvider"
> address="http://provider:9088/services/tesb.test.participants.osgi.ufp.provider/soap/StandardTestServiceProvider/"
>          xmlns:endp="http://services.test.esb.talend.org/ufp/ufpService"
>          xmlns:srv="http://services.test.esb.talend.org/ufp/ufpService">
> </jaxws:endpoint>
>
> When I install the route bundle in TESB container by JMX,the log is about :
>
> 1.	Adding route
> 2.	Starting route
> 3.	Pre-instantiating singletons in
> org.springframework.beans.factory.support.DefaultListableBeanFactory@11faddd:
> defining beans
> [cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,….jobTestComponentBean,jobTestExporter,groovyDelegateFactory,ufpServiceProviderBean,ufpServiceProviderEndpoint];
>
> Why there is step3,can I avoid step3?
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/during-install-route-bundle-in-karaf-donot-want-to-Pre-instantiating-singletons-in-org-springframewoy-tp5715839.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang