ansh0014 opened a new pull request, #6904: URL: https://github.com/apache/camel-k/pull/6904
# Description This PR adds automatic KEDA scaler discovery for Apache ActiveMQ endpoints, as discussed with @squakez. When `keda.auto` is enabled, any `activemq:` endpoint automatically creates a KEDA trigger with `type: activemq` by mapping: - Destination name from URI path (supporting `activemq:queue:<name>`, `activemq:topic:<name>`, and `activemq:<name>`) - Scaler metadata parameters: `destinationName`, `managementEndpoint`, `brokerName`, `targetQueueSize`, `activationTargetQueueSize`, `corsHeader`, and `restAPITemplate` ### Changes: - Implemented `ActiveMQScaler` in `pkg/trait/keda/scalers/activemq.go` - Added comprehensive unit tests in `pkg/trait/keda/scalers/activemq_test.go` - Updated KEDA trait documentation in `docs/modules/traits/pages/keda.adoc` ### Tests: - Ran `go test -v -count=1 ./pkg/trait/keda/...` — all tests pass. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
