Dietrich Schulten created CAMEL-19391:
-----------------------------------------
Summary: Camel Netty-Http appears to run only with context-path
/camel
Key: CAMEL-19391
URL: https://issues.apache.org/jira/browse/CAMEL-19391
Project: Camel
Issue Type: Bug
Reporter: Dietrich Schulten
If I define the following application property in a Spring Boot application
which uses netty-http:
{code:java}
camel:
servlet:
mapping:
context-path: /api/*{code}
then the application reacts only when using the context-path {{/camel/*.}}
Expected: it should react at the context-path /api/*
Here is my dependency list:
{code:java}
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-platform-http-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-netty-http-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-groovy-starter</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-console-starter</artifactId>
</dependency> {code}
My route entry for the netty-http consumer:
{code:java}
from("netty-http:proxy://0.0.0.0:8083?disableStreamCache=true") {code}
I am silently hoping that I am just using the wrong property ;)
If the netty-http component does not allow to redefine the context-path, where
in the code would I have to look in order to make that possible?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)