Hi, in the former message the stack trace has a different url because that is the url of the mtom service, while in the RecipientListJetty class the url is the one of the (correctly working) non-mtom service.
I tried your suggestion but the HttpServer class returns the same error: [ qtp26255574-10] DefaultErrorHandler ERROR Failed delivery for exchangeId: ID-AVON-DELL-1343-1299233005012-0-2. Exhausted after delivery attempt: 1 caught: org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://localhost:8080/cxf-ws-raggi/services/raggiPort with statusCode: 500 org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://localhost:8080/cxf-ws-raggi/services/raggiPort with statusCode: 500 at org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:166)[camel-http-2.5.0.jar:2.5.0] at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:108)[camel-http-2.5.0.jar:2.5.0] Now i have dropped the recipient list which is not nedded for the purpose of this test and the HttpServer class looks like this public class HttpServer { private static String url = "http://localhost:8765/jtrouter/?enableMultipartFilter=false"; public static void main(String[] args) throws Exception { HttpServer server = new HttpServer(); System.out.println("Starting HttpServer... press ctrl + c to stop it"); server.server(); System.out.println("... started and listening on: " + url); Thread.sleep(999999999); } public void server() throws Exception { CamelContext camel = new DefaultCamelContext(); camel.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { from("jetty:http://localhost:8765/jtrouter/?enableMultipartFilter=false") .to("http://localhost:8080/cxf-ws-raggi/services/raggiPort?bridgeEndpoint=true"); //.bean(RecipientListJetty.class); } }); camel.start(); } } Thanks, Mauro -- View this message in context: http://camel.465427.n5.nabble.com/http-proxy-and-mtom-attachments-tp3407911p3409213.html Sent from the Camel - Users mailing list archive at Nabble.com.
