Using 'onException' in SwitchYard's Camel route to handle failure occurred during WebService calls

Solution Unverified - Updated -

Issue

  • User wants to access a WebService from their SwitchYard application, and if that's failed they want to retry this operation for n times with delay of 10 minutes.
  • It appears that using onException inside a Camel 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.

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