Re: Deploy custom Camel code on Apache Karaf

2019-10-13 Thread Kirti Arora
Hi Jean, Thanks a lot, It worked with Activator Bundle. Regards, kirti Arora

Re: Deploy custom Camel code on Apache Karaf

2019-10-07 Thread Kirti Arora
} } } public class SimpleRouteBuilder extends RouteBuilder { @Override public void configure() { from("direct:start").setHeader(Exchange.HTTP_METHOD, simple("GET")) .to("http://dummy.restapiexample.com/api/v1/employees";); } } Thanks,

Re: Deploy custom Camel code on Apache Karaf

2019-10-06 Thread Kirti Arora
t. For eg. I want to hit the below mentioned URL from("direct:start") .setHeader(Exchange.HTTP_METHOD, simple("GET")) .to("http://dummy.restapiexample.com/api/v1/employees";); How can I do this? Thanks, Kirti Arora On Sat, Oct 5, 2019 at 5:11 PM Jean-Ba

Deploy custom Camel code on Apache Karaf

2019-10-04 Thread Kirti Arora
would be very helpful if someone can provide me an example. Thanks, Kirti Arora

Run camel endpoint on localhost server

2019-09-26 Thread Kirti Arora
Hi All, I'm new to Camel. I want to run camel endpoint on localhost so that any other program can use the hostname url from requestBody() method and get the results defined in that route. Please guide me for this. Thanks