3 Replies Latest reply on Sep 11, 2012 9:58 PM by Willem Jiang

    camel-cdi and REST with cxf

    Jochen Lauer Apprentice



      how can I setup a REST service using the camel-cdi component ?

      For cxf I think it is required to add parts from application context




      somehow in the bootstrap class of the camel cdi application ?


      Or is it possible to use the REST implementation of my container (in my case jboss as 7) like



      public class TestRest {



           TestService testService;




           public void triggerMyCamelRoute() {




      to trigger the camel route





      Thanks in advance