Java https配置camel-config.xml
我使用的是在http协议中运行良好的camel servlet no-spring应用程序。如何将“to”设置为https Mycamel config.xmlJava https配置camel-config.xml,java,apache-camel,Java,Apache Camel,我使用的是在http协议中运行良好的camel servlet no-spring应用程序。如何将“to”设置为https Mycamel config.xml <routes xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="servlet:///service?matchOnUriPrefix=true"/> <loadBalance>
<routes xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="servlet:///service?matchOnUriPrefix=true"/>
<loadBalance>
<failover>
<exception>java.lang.Exception</exception>
</failover>
<to uri="http://localhost:8082/cdc/services?bridgeEndpoint=true&throwExceptionOnFailure=false"/>
</loadBalance>
</route>
</routes>
java.lang.Exception
我想要
<to uri="https://localhost:8082/cdc/services?bridgeEndpoint=true&throwExceptionOnFailure=false"/>
您可以根据需要更新到uri。我不知道您遇到了什么问题。您可以根据需要更新到uri。我不知道您遇到了什么问题。您可以根据需要更新到uri。我不知道您遇到了什么问题。您可以根据需要更新到uri。我不知道你碰到了什么问题
<routes xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="servlet:///service?matchOnUriPrefix=true"/>
<loadBalance>
<failover>
<exception>java.lang.Exception</exception>
</failover>
<to uri="https://localhost:8082/cdc/services?bridgeEndpoint=true&throwExceptionOnFailure=false"/>
</loadBalance>
</route>
</routes>
我想5月443号港口。像
https://yourhost:443/
我想5月443号港口。像
https://yourhost:443/
我想5月443号港口。像
https://yourhost:443/
我想5月443号港口。像
https://yourhost:443/