Hi, You can expose second com.frm.DBService with different service properties, and when you reference it, you can specify the service properties as a filter.
Freeman ------------- Freeman Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-9-26, at 下午3:33, Koray Duman wrote: > > We are using Spring DM and CXF-DOSGI on osgi framework. We can register the > service this like. It is work > > > <osgi:reference id="dbService" interface="com.frm.DBService" /> > > <osgi:service interface="com.frm.DBService"> > <osgi:service-properties > > <entry key="service.exported.interfaces" value="*" /> > <entry key="service.exported.configs" value="org.apache.cxf.rs" /> > <entry key="service.exported.intents" value="HTTP" /> > <entry key="org.apache.cxf.rs.databinding" value="jaxb" /> > > </osgi:service-properties> > <ref bean="dbService" /> > </osgi:service> > > > We want to register new one. How can I register new one > > Thank You
