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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
