Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
wireTap をスキップして、キャメル ルートの junit テスト ケースを作成する必要があります。または、wireTap をモックする可能性はありますか? はいの場合、どのように?
ありがとう、スリーカンス
uri "direct:foo" に盗聴している場合は、(たとえば) Camel ルートを次のように織り込むことができます。
weaveByToUri("direct:foo").replace().to("mock:junit");
詳細: https://camel.apache.org/manual/advice-with.html