flyem69 opened a new issue, #4269:
URL: https://github.com/apache/camel-quarkus/issues/4269
When I define an endpoint with Camel:
```
rest().get("/hello").to("direct:hello");
from("direct:hello").setBody(constant("Hello World"));
```
request with GET method to `/hello` returns 200 status code
and request with POST method to `/hello` returns 405 status code.
This is expected behaviour.
Once I add an endpoint with Quarkus:
```
@Path("/bye")
public class QuarkusEndpoint {
@GET
public String bye() {
return "Bye World";
}
}
```
request with POST method to `/hello` doesn't return 405 status code anymore
but 404.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]