Duplicate Custom RoutePolicyFactory is registered by Camel on SpringBoot

Solution Verified - Updated -

Issue

A custom RoutePolicyFactory is added to a CamelContext 2 times, so the same route policy will be invoked 2 times which is not expected.

Environment

  • Red Hat Fuse 7.7
    • spring boot 2

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