私はApache Camel
で非同期ロガーを実装しようとしています。サードパーティのAPIを呼び出している間に、リクエストと応答のペイロードを記録したいと思います。次のように現在、私はactivemq
を使用して、これをやっている:Apache Camelによる非同期ログ
....
<!-- Prepare request -->
<to uri="activemq:loggingQueue??disableReplyTo=true&preserveMessageQos=true"/>
<recipientList>
<simple>http4:api.example.com</simple>
</recipientList>
.......
<route>
<from uri="activemq:loggingQueue"/>
<!-- log payload -->
</route>
- をこの機能を実現するために任意のより良い方法はありますか?
- log4j2非同期ログをcamelと統合できますか?可能であれば、それを示すチュートリアルはありますか?
log4j2
非同期ロギングとラクダを一緒に参照するチュートリアルはありませんでした。