camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yvsandeep <>
Subject Help required with Camel for HTTP service.
Date Mon, 02 Sep 2013 12:57:58 GMT

I am new to Apache Camel.I am trying to create a HTTP ping-pong service
using Apache Camel.Here is the flow.

 HTTP Client <-> Apache Camel <-> HTTP Webserver

Here are the programs that I am using.

Main pgm
import org.apache.camel.spring.Main;

public class Test 

	public static void main(String[] args) throws Exception  
		Main start = new Main();
		System.out.println("Starting the listener....");; 


import org.apache.camel.builder.RouteBuilder;

public class HTTPListener extends RouteBuilder {

    public void configure() throws Exception 


I have posted the message to /myapp/myservice.However,I do not see the
request being routed to the remote http web server.Also,what should I do to
get the response from the web server and send it to the http client?

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message