Apache CXF failover for REST client in JBoss EAP

Solution Verified - Updated -

Issue

  • We want to implement failover for REST calls in our application.
  • Apache CXF has failover feature that will look for server which is up based on SequentialStrategy or Random Strategy.
  • Could you send some example on this which may help in our implementation?
  • As REST client, we have path param or query param to append URL in request. But in JAXRSClientFactoryBean we are unable to find such feature.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
  • Apache CXF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.