oscerd opened a new pull request, #2925: URL: https://github.com/apache/camel-kamelets/pull/2925
## Summary Adds container-based Citrus integration tests for 4 messaging kamelets using the generic `container:` DSL with Testcontainers. All tests use **Camel route YAML** format (per #2873). ### New tests | Kamelet | Container | Wait strategy | Test flow | |---------|-----------|--------------|-----------| | `mqtt5-source` + `mqtt5-sink` | eclipse-mosquitto:2 | `disabled: true` + sleep | Subscribe via source, publish via sink, verify source receives message | | `nats-source` + `nats-sink` | nats:2 | HTTP health check on `:8222` | Subscribe via source, publish via sink, verify source receives message | ### Skipped - `spring-rabbitmq-source/sink` — Spring 7.x dependency conflict (camel-spring-rabbitmq pulls spring-rabbit 4.1.0 → spring-context 7.0.8, clashes with Citrus's Spring 6.2.x) - `pulsar-source/sink` — Heavyweight container (~60s startup), complex multi-segment URI - `mqtt-source/sink` (v3.1.1) — Deprecated, mqtt5 preferred ### Files - **2 IT classes**: `Mqtt5IT.java`, `NatsIT.java` - **5 route YAML files**: mqtt5-source, mqtt5-sink, nats-source, nats-sink + mosquitto.conf - **2 Citrus test YAML files**: one combined test per messaging system - **1 POM update**: added `camel-paho-mqtt5`, `camel-nats` test dependencies ## Test plan - [ ] `mvn compile test-compile -pl :camel-kamelets-itest` passes - [ ] `mvn verify -pl :camel-kamelets-itest -Denable.integration.tests -Dtest=Mqtt5IT` - [ ] `mvn verify -pl :camel-kamelets-itest -Denable.integration.tests -Dtest=NatsIT` _Claude Code on behalf of Andrea Cosentino_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
