You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/14 14:40:00 UTC

[jira] [Commented] (ARTEMIS-3574) Allow multiple bindings for embedded webserver

    [ https://issues.apache.org/jira/browse/ARTEMIS-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459200#comment-17459200 ] 

ASF subversion and git services commented on ARTEMIS-3574:
----------------------------------------------------------

Commit 182334359c0f8f63a7cd8b69a42d9b4cee48dc9c in activemq-artemis's branch refs/heads/main from Marlon Müller
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=1823343 ]

ARTEMIS-3574 multiple bindings for embedded webserver

* Add BindingDTO to allow configuring multiple addresses to listen on
* Start a new ServerConnector for each binding and deploy the corresponding web-applications
* Update documentation and tests
* Add tests to verify old and new configuration style produce equal results


> Allow multiple bindings for embedded webserver
> ----------------------------------------------
>
>                 Key: ARTEMIS-3574
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3574
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: 2.19.0
>            Reporter: Marlon Müller
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> At the moment it is only possible to configure one binding for the embedded jetty webserver to listen on. It would be great to have the possibility to configure multiple bindings for different war-files in order to serve those files on different ports and allow the usage of http and https at the same time.
> My current problem is the usage of the prometheus metrics plugin. In our setup it is not possible to call the "/metrics" endpoint with SSL enabled. Therefore I would like to define a second binding without SSL enabled for this plugin. Disabling SSL completely is not an option as other endpoints like the jolokia-api and the web-console require some user authentication which should be protected.
> The idea is to move all binding related configuration parameters of the  "web" element and the configured "apps" in "bootstrap.xml" to a new element called "binding" and put a list of those "binding" elements inside the "web" element.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)