2.46.3.2. 通过 Camel REST DSL 使用 platform-http
要在 platform-http 组件中使用 Camel REST DSL,除了 之外,还要在 camel-quarkus-platform- httppom.xml 中使用 camel-quarkus-http :
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-rest</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-rest</artifactId>
</dependency>
然后您可以使用 Camel REST DSL: