Why does Camel REST return a 404 ('Not Found') instead of a 405 ('Not Allowed')?
Issue
If a REST resource does not implement a method, it should return a 405 ('Method Not Allowed'). Camel returns a 404 in this case ('Not Found'). Why is that?Example: A REST resource implements the GET method properly. If a user calls 'POST' instead, a 405 should result.
Environment
Red Hat JBoss Fuse 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.