Hi,

Here is my camel-context:

  <camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring";>
    <package>org.apache.servicemix.tutorial.camel</package>
  </camelContext>
  
  <bean id="myProcessor"
class="org.apache.servicemix.tutorial.camel.MyProcessor"/>

Here is my RouteBuilder java file:

public class MyRouteBuilder extends RouteBuilder {
        public void configure() {
        from("timer://tutorial?fixedRate=true&delay=3000&period=10000")  
                .setBody(constant(".....................Liav Camel
POC......................."))
                        .to("myProcessor");
        
    }
}

Here is my processor java file:
public class MyProcessor implements Processor {
          public void process(Exchange exchange) throws Exception {
              //WANT TO INITIATE A CALL TO http pROVIDER END POINT & PASS THE
'FROM'
                  // PARAMETRS RECIEVED PROIRE TO THE PROCESSOR INVOKE.   }
}

Thanks.
-- 
View this message in context: 
http://www.nabble.com/How-do-i-call-an-HTTP-Provider-end-pont-from-the-process-method--tp21351142s22882p21351142.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to