REST Binding always returns 204 for void methods regardless of exception thrown in FSW
Issue
- We have a component that has a REST binding and it seems that for
voidmethods it always returns204. - For example, if a runtime exception occurs in the component the REST binding still signals
204. This is not the case for nonevoidmethods. - You won’t get this behavior if you run the same as a pure RESTEasy service, i.e. don't use FSW.
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.