3 Replies Latest reply on Nov 16, 2010 3:40 AM by Kevin Yang

    cxfbc:consumer and camel routes

    fat belly Newbie

      I have the following cxfbc consumer and cxfbc producer:

       

      <cxfbc:consumer wsdl="mycalculate.wsdl"

      service="calculate:CalculateService"

      endpoint="soap"

      targetService="calculate:CalculateService"

      targetEndpoint="calculate:Calculate"

      locationURI="http://myserver:8000/Calculate"/>

       

      <cxfbc:producer wsdl="mycalculate.wsdl"

      service="calculate:CalculateService"

      endpoint="calculate:Calculate"

      locationURI="http://myserver:8080/services/Calculate"/>

       

      Currently, I have the following flow:

       

      external client --> cxf consumer --> cxf producer --> external service

       

      How would I introduce routing btwn the consumer and producer that would result in the following flow:

       

      external client --> cxf consumer --> routing --> cxf producer --> external client