私の既存のコードでは、camelcontext
Bean内に 2 つのルートビルダーがあります
<camelContext xmlns="http://camel.apache.org/schema/spring">
<routeBuilder ref="routeBuilder1" />
<routeBuilder ref="routeBuilder2" />
</camelContext>
システム構成プロパティで構成されているフラグ値に基づいてルート ビルダーを設定したいと考えています。