[
https://issues.apache.org/jira/browse/CAMEL-26619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino updated CAMEL-26619:
-------------------------------------
Description:
Builds on the Floci AZ container that CAMEL-26615 adds to
{{camel-test-infra-azure-common}}.
The integration tests of camel-azure-servicebus ({{ServiceBusProducerIT}},
{{ServiceBusConsumerIT}}) run only with the connection string of a real
namespace ({{camel.component.azure-servicebus.connection-string}}), and create
their queues, topics and subscriptions with {{ServiceBusAdministrationClient}}.
Floci AZ emulates the Service Bus AMQP 1.0 data plane with an ActiveMQ Artemis
sidecar started through the Docker socket ({{mocked=false}}), with the
connection string
{{Endpoint=sb://<host>:<port>;...;UseDevelopmentEmulator=true}}. Queues, topics
and subscriptions, with sessions, can be declared up front in the official
emulator's {{Config.json}} format.
h4. Change
* Add a {{camel-test-infra-azure-servicebus}} module that starts Floci AZ with
the Docker socket mounted and the queues, topics and subscriptions the tests
use.
* Run the integration tests against it; keep the remote mode, where the tests
still create the entities.
* Skip the integration tests on ppc64le and s390x.
h4. Not covered
Floci AZ does not implement scheduled messages, deferred messages, session
state or rule management over AMQP. Tests that use them stay remote only.
Depends on CAMEL-26615.
_Claude Code on behalf of Andrea Cosentino_
was:
Part of the move of the Azure test-infra to Floci AZ (CAMEL-26613).
The integration tests of camel-azure-servicebus ({{ServiceBusProducerIT}},
{{ServiceBusConsumerIT}}) run only with the connection string of a real
namespace ({{camel.component.azure-servicebus.connection-string}}), and create
their queues, topics and subscriptions with {{ServiceBusAdministrationClient}}.
Floci AZ emulates the Service Bus AMQP 1.0 data plane with an ActiveMQ Artemis
sidecar started through the Docker socket ({{mocked=false}}), with the
connection string
{{Endpoint=sb://<host>:<port>;...;UseDevelopmentEmulator=true}}. Queues, topics
and subscriptions, with sessions, can be declared up front in the official
emulator's {{Config.json}} format.
h4. Change
* Add a {{camel-test-infra-azure-servicebus}} module that starts Floci AZ with
the Docker socket mounted and the queues, topics and subscriptions the tests
use.
* Run the integration tests against it; keep the remote mode, where the tests
still create the entities.
* Skip the integration tests on ppc64le and s390x.
h4. Not covered
Floci AZ does not implement scheduled messages, deferred messages, session
state or rule management over AMQP. Tests that use them stay remote only.
Depends on CAMEL-26613.
_Claude Code on behalf of Andrea Cosentino_
> camel-azure-servicebus - run the integration tests on Floci AZ
> --------------------------------------------------------------
>
> Key: CAMEL-26619
> URL: https://issues.apache.org/jira/browse/CAMEL-26619
> Project: Camel
> Issue Type: Test
> Components: camel-azure-servicebus
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.24.0
>
>
> Builds on the Floci AZ container that CAMEL-26615 adds to
> {{camel-test-infra-azure-common}}.
> The integration tests of camel-azure-servicebus ({{ServiceBusProducerIT}},
> {{ServiceBusConsumerIT}}) run only with the connection string of a real
> namespace ({{camel.component.azure-servicebus.connection-string}}), and
> create their queues, topics and subscriptions with
> {{ServiceBusAdministrationClient}}.
> Floci AZ emulates the Service Bus AMQP 1.0 data plane with an ActiveMQ
> Artemis sidecar started through the Docker socket ({{mocked=false}}), with
> the connection string
> {{Endpoint=sb://<host>:<port>;...;UseDevelopmentEmulator=true}}. Queues,
> topics and subscriptions, with sessions, can be declared up front in the
> official emulator's {{Config.json}} format.
> h4. Change
> * Add a {{camel-test-infra-azure-servicebus}} module that starts Floci AZ
> with the Docker socket mounted and the queues, topics and subscriptions the
> tests use.
> * Run the integration tests against it; keep the remote mode, where the tests
> still create the entities.
> * Skip the integration tests on ppc64le and s390x.
> h4. Not covered
> Floci AZ does not implement scheduled messages, deferred messages, session
> state or rule management over AMQP. Tests that use them stay remote only.
> Depends on CAMEL-26615.
> _Claude Code on behalf of Andrea Cosentino_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)