Claus Ibsen created CAMEL-24823:
-----------------------------------

             Summary: camel infra artemis: map the MQTT, AMQP and web ports 
only on request, so it can run next to mosquitto
                 Key: CAMEL-24823
                 URL: https://issues.apache.org/jira/browse/CAMEL-24823
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang, camel-test-infra
            Reporter: Claus Ibsen


*camel infra run artemis* uses fixed ports and maps 61616, 8161, 5672 and 1883 
on the host whether the user needs them or not. Mosquitto from *camel infra run 
mosquitto* takes 1883 too, so the two cannot run at the same time; the Artemis 
container fails with "driver failed programming external connectivity" and a 
stack trace that does not name the port.

Proposal: map only the acceptor port by default and the other protocols on 
request (for example *camel infra run artemis --ports mqtt,amqp*, or 
per-protocol implementations), and when a fixed port is taken, fail with a 
one-line message naming the port and the service holding it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to