Is it supported to use ExceptionMapper in SwitchYard to customize exceptions ?
Issue
- Users often want to handle the
RESTfaults usingExceptionMapperto customice a java exception into the output JSON messages (for an example). But, it appears that there are problems with the usage of@Providerannotations in SwitchYard projects. Is it supported to use@Providerclasses inSwitchYard? - If
@Provideris not supported inSwitchYardthen 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.