REST Binding always returns 204 for void methods regardless of exception thrown in FSW

Solution Verified - Updated -

Issue

  • We have a component that has a REST binding and it seems that for void methods it always returns 204.
  • For example, if a runtime exception occurs in the component the REST binding still signals 204. This is not the case for none void methods.
  • 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content