Hi All. I am facing a issue. I am trying to connect to rest service and want to process the response which I receive. But I was not getting any response.
So I thought to try simple connection to google and see if any response comes from there. strange that I am not even getting any response from google. I am getting : " java.lang.IllegalStateException: IllegalStateException invoking http://www.google.com: Already connected" my route is defined like this: from("jms:request") .log("Output:") .to(ExchangePattern.InOut,"cxfrs://http://www.google.com") .log("Output:") .process(new Processor() { @Override public void process(Exchange exchange) throws Exception { System.out.println("response is "+ exchange.getOut().getBody()); } }); ----------------------------------------------- Kindly let me know where I am going wrong. --cheers, atg roxx