使用 Camel 進行負載測試

功能 > 效能 > 使用 Camel 進行負載測試

使用 Camel 進行負載測試

在撰寫本文時,最好先檢查 ActiveMQ Classic 和 Camel 的原始碼並執行本地建置。

然後透過 bin/activemq 腳本執行代理程式,或者您可以先解壓縮 assembly/target/apache-activemq.tar.gz* 檔案,然後執行其 bin/activemq 腳本。

現在要執行負載測試,請輸入

activemq/activemq-camel-loadtest> mvn test -Dtest=LocalBrokerParallelProducerLoadTest

如果您想調整 ActiveMQ Classic 和 Camel 的配置,請編輯 LocalBrokerParallelProducerLoadTest-context.xml 檔案。

Apache、ActiveMQ、Apache ActiveMQ、Apache 羽毛標誌和 Apache ActiveMQ 專案標誌是 The Apache Software Foundation 的商標。版權所有 © 2024,The Apache Software Foundation。根據 Apache 授權 2.0 授權。