CM property in OSGi service reference filter attribute doesn't works

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

CM property in OSGi service reference filter attribute doesn't works

XiLai Dai

Hi, there


The cm property in OSGi service reference filter attribute doesn't works, e.g. we have:


<reference id="datasource" interface="javax.sql.DataSource" filter="(datasource.name=${db.datasource})"/>


in the blueprint xml, but the ${db.datasource} can't be resolved as the actual value provided by cm:property-placeholder.


Could someone karaf/aries expert give light if there is any workaround for this problem? Thanks!


Best Regards

Xilai

Loading...