-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
We should make it easier for people to set the host/port of the remote mail server at runtime without having to edit the configuration. See https://github.com/bstansberry/wildfly/blob/ee-9-feature-pack/ee-9/feature-pack/src/main/resources/feature_groups/messaging-sockets.xml for a possible equivalent thing for a connection to a remote messaging broker.
<?xml version="1.0" encoding="UTF-8"?> <feature-group-spec name="messaging-sockets" xmlns="urn:jboss:galleon:feature-group:1.0"> <feature spec="socket-binding-group.remote-destination-outbound-socket-binding"> <param name="remote-destination-outbound-socket-binding" value="messaging-activemq"/> <param name="host" value="${jboss.messaging.connector.host:localhost}"/> <param name="port" value="${jboss.messaging.connector.port:61616}"/> </feature> </feature-group-spec>