Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1077

CXFSE should allow a proxy to another CXFSE service like jsr181 does.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2
    • 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.

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            rmoquin Ryan Moquin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: