Using 'onException' in SwitchYard's Camel route to handle failure occurred during WebService calls
Issue
- User wants to access a
WebService
from theirSwitchYard
application, and if that's failed they want to retry this operation forn times
with delay of10 minutes
. - It appears that using
onException
inside aCamel route
might be useful for this requirement, but is there a sample example to demonstrate how to use it? - Using
onException
does 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, tools, and much more.