Is it supported to use ExceptionMapper in SwitchYard to customize exceptions ?
Issue
- Users often want to handle the
REST
faults usingExceptionMapper
to customice a java exception into the output JSON messages (for an example). But, it appears that there are problems with the usage of@Provider
annotations in SwitchYard projects. Is it supported to use@Provider
classes inSwitchYard
? - If
@Provider
is not supported inSwitchYard
then what alternate option is available?
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.