OK, previously I specified a provider in the providers element of a
cxf:rsServer element. How do I now specify a provider when using cxfbean? 

This is what I had when using cxfrs:


  <cxf:rsServer id="rsServer"
   
address="http://localhost:${com.classactionpl.gpstrackerservices.httpPort}";
   
serviceClass="com.classactionpl.gpsTrackerReference.GPSTrackerCollectionService"
    staticSubresourceResolution="true">
    <cxf:providers>
      <bean
       
class="com.classactionpl.gpsTrackerReference.GPSTrackerCollectionProvider">
        <property name="gpsTrackerCollectionTransformer"
ref="gpsTrackerCollectionTransformer" />
      </bean>
    </cxf:providers>
  </cxf:rsServer>


...so now that I have the following route declaration, how do I specify the
provider?


  from("jetty:http://localhost:"; + httpPort + "?matchOnUriPrefix=true")
        .to("seda:gpsTrackerCollectionWebService");

  from("seda:gpsTrackerCollectionWebService?concurrentConsumers=2").to(
        "cxfbean:gpsTrackerCollectionWebService");


Thanks for your help. I shall update the wiki with the solution you provide.

Kind regards,
Christopher
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/CXFRS-consumers-is-there-a-better-way-tp2834502p2835835.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to