HTTP basic authorization with HTTP4?

2014-08-13 Thread apache999
ICATE,auth); Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-basic-authorization-with-HTTP4-tp5755181.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HTTP basic authorization with HTTP4?

2014-08-13 Thread Willem Jiang
HttpTransportProperties.Authenticator(); > auth.setPreemptiveAuthentication(true); > auth.setUsername("WS111920._.1"); > auth.setPassword("0WRtTq1K"); > options.setProperty(HTTPConstants.AUTHENTICATE,auth); > > Thanks! > > > > -- > View this message in

Re: HTTP basic authorization with HTTP4?

2014-08-14 Thread apache999
Main main = new Main(); main.enableHangupSupport(); main.addRouteBuilder(new MyRouteBuilder()); main.run(args); System.out.println("MainApp started - Hello"); } } -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-basic-authorization-with-HTTP4-tp5755181p5755212.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HTTP basic authorization with HTTP4?

2014-08-14 Thread apache999
mponent("http4", HttpComponent.class); httpComponent.setHttpClientConfigurer(new MyHttpClientConfigurer()); } } -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-basic-authorization-with-HTTP4-tp5755181p5755213.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HTTP basic authorization with HTTP4?

2014-08-14 Thread apache999
Please disregard this thread. The JSSE Configuration Utility worked for me(instead of HttpClientConfigurer). -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-basic-authorization-with-HTTP4-tp5755181p5755228.html Sent from the Camel - Users mailing list archive at