cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: CXF DOSGi: Idea for replacement of IntentMap reading
Date Fri, 16 Nov 2012 14:19:59 GMT
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 intentmap xml is quite low.
Basically you would just have to switch from IntentMap to a normal map,
export the service and move the xml file to the spring dm directory so
it is picked up.
So if not many people have used this feature we may just start with
instructions for the conversion and if people need compatibility we
could provide the above bundle in the next version.


On 11/16/2012 02:56 PM, David Bosschaert wrote:
> 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 and register the
> appropriate whiteboard services. If people don't need to
> backward compatibility they wouldn't install this bundle...
> Just my 2c,
> David
> On 16 November 2012 10:50, Christian Schneider <>wrote:
>> 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 seems more flexible and OSGI-friendly.
>>> Typically, reacting to an intent means adding a CXF-level interceptor.
>>> How will it work with your approach ?
>> Basically it is the same with my aproach. We get the intent map using a
>> service instead of directly reading the config file but everything after
>> this point is the same.
>> The only thing I can imagine is that there may be a timing issue. When
>> we check for services of type intent map before the service is exported
>> we have a problem.
>> Christian

View raw message