Created
June 15, 2012 13:50
-
-
Save fishnix/2936567 to your computer and use it in GitHub Desktop.
test search proxy with SSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:cxf="http://camel.apache.org/schema/cxf" | |
| xmlns:jaxws="http://cxf.apache.org/jaxws" | |
| xmlns:soap="http://cxf.apache.org/bindings/soap" | |
| xmlns:http="http://cxf.apache.org/transports/http/configuration" | |
| xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration" | |
| xmlns:sec="http://cxf.apache.org/configuration/security" | |
| xsi:schemaLocation=" | |
| http://www.springframework.org/schema/beans | |
| http://www.springframework.org/schema/beans/spring-beans.xsd | |
| http://camel.apache.org/schema/cxf | |
| http://camel.apache.org/schema/cxf/camel-cxf.xsd | |
| http://camel.apache.org/schema/spring | |
| http://camel.apache.org/schema/spring/camel-spring.xsd | |
| http://cxf.apache.org/transports/http-jetty/configuration | |
| http://cxf.apache.org/schemas/configuration/http-jetty.xsd | |
| "> | |
| <import resource="classpath:META-INF/cxf/cxf.xml" /> | |
| <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml"/> | |
| <import resource="classpath:META-INF/cxf/cxf-extension-http.xml"/> | |
| <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml"/> | |
| <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> | |
| <route> | |
| <from uri="jetty:https://0.0.0.0:8443/searchProxy?matchOnUriPrefix=true"/> | |
| <log message="Routing to Google"/> | |
| <to uri="jetty:https://www.google.com?bridgeEndpoint=true&throwExceptionOnFailure=false"/> | |
| </route> | |
| </camelContext> | |
| </beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment