Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows XP
Description
With the JSR181 services with XFire, I was able to do this, per the documentation:
<jsr181:endpoint serviceInterface="test.Echo">
<jsr181:pojo>
<bean class="test.EchoProxy">
<property name="echo">
<jsr181:proxy service="test:EchoService" context="#context" type="test.Echo" />
</property>
</bean>
</jsr181:pojo>
</jsr181:endpoint>
In order to create a proxy to another JSR181 service on the bus. I'm currently not able to do this now that I'm using CXF. This means I have to use spring to populate an instance of my service class on the service that I want to access it. This leads to confusion since there is now the instance of the target service that my service holds a reference to, and then there is an instance of that target service that servicemix creates itself. It would be nice to be able to have a service reference the actual endpoint on the bus.