I hava one rest config for http scheme, but I need several configurations,
for example, for https scheme to on different port. I use 2.20.2
camel-version. My config

*-<camelContext xmlns="http://camel.apache.org/schema/spring
<http://camel.apache.org/schema/spring>" id="rest">*
*   -<restConfiguration scheme="http" producerComponent="http" port="9090"
host="0.0.0.0" contextPath="/fesb-rest" component="jetty"
bindingMode="off">*
*   <dataFormatProperty value="true" key="prettyPrint"/>*
*</restConfiguration>*
*   -<rest id="4f777f7b-f2fd-4107-8271-a50640d4525c"
produces="application/json" path="/path">*
*   -<get id="026ea872-e2f8-4772-8d10-6482b8549f11"
produces="application/json" uri="/get">*
*   <description/>*
*   <to uri="direct-vm://restLink"/>*
*</get>*
*</rest>*

Reply via email to