Re: CXF DOSGi: Idea for replacement of IntentMap reading

2012-11-16 Thread Sergey Beryozkin
Hi Christian On 16/11/12 06:59, Christian Schneider wrote: Currently we manually use spring-dm to read the IntentMap from the dsw bundle as well as from bundles implementing or using OSGi services. This has some drawbacks: - As IntentMap is defined in the dsw bundle the user bundles depend on

Re: CXF DOSGi: Idea for replacement of IntentMap reading

2012-11-16 Thread Christian Schneider
On 11/16/2012 11:33 AM, Sergey Beryozkin wrote: Hi Christian I'm not sure anyone uses custom intents, there were some ideas from users on how to get custom intents, suggesting how it can be done based on the existing approach but it was too difficult as far as I recall. So what you suggest

Re: CXF DOSGi: Idea for replacement of IntentMap reading

2012-11-16 Thread David Bosschaert
Contributing new intents using the whiteboard pattern. Sounds like an interesting idea! One thing you could think of is to create a separate bundle that provides backward compatibility. I mean it could read the intent-map.xml (using any XML parser, doesn't have to be Spring) as we have it today

Re: CXF DOSGi: Idea for replacement of IntentMap reading

2012-11-16 Thread Christian Schneider
I also thought about this. We could have a bundle that reads intent xmls using spring dm. With a simple parse I think it would not work as we need the cxf namespaces to create features from the xml definitions. So we would not get rid of spring dm. I think the effort to convert an existing

Re: svn commit: r1409651 - in /camel/trunk: components/camel-cxf/src/test/java/org/apache/camel/component/cxf/ examples/camel-example-loan-broker/src/main/java/org/apache/camel/loanbroker/webservice/v

2012-11-16 Thread Daniel Kulp
On Nov 15, 2012, at 9:01 PM, Willem jiang willem.ji...@gmail.com wrote: Thanks for sharing this. I check the code of CXF, the ClientProxy has the finalize() method, I think JDK calling it before GC is kicked[1]. After a finalizer is invoked, objects are not freed right away. This is