Resolution: Not A Bug
I’m using some camel rest routes and found something unexpected with the examples provided in https://camel.apache.org/manual/latest/rest-dsl.html
Those routes creates 3 netty consumers visible in JMX, consuming from following endpoints:
However, in JMX, I can see only 2 of those endpoints:
- endpointBaseUri http://0.0.0.0:0/say/bye, with endpointUri http://0.0.0.0:0/say/bye?httpMethodRestrict=GET
- endpointBaseUri http://0.0.0.0:0/say/hello, with endpointUri http://0.0.0.0:0/say/hello?httpMethodRestrict=GET
There is no endpoint for “POST” on “/bye”.
Maybe it’s because it would share the same endpointBaseUri than the endpoint for “GET” on “/bye” ?
I attached a screenshot if this helps where we can see the 3 consumers and only 2 endpoints.