Using 'onException' in SwitchYard's Camel route to handle failure occurred during WebService calls
Issue
- User wants to access a
WebServicefrom theirSwitchYardapplication, and if that's failed they want to retry this operation forn timeswith delay of10 minutes. - It appears that using
onExceptioninside aCamel routemight be useful for this requirement, but is there a sample example to demonstrate how to use it? - Using
onExceptiondoes not seem to work sometimes and seems that when user tries to route the message to the same starting point it fails. What could have caused this kind of issue?
Environment
- Red Hat JBoss Fuse Service Works (FSW)
- 6.0.0
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.
