Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13717

Add expressions for the host/port attributes for the outbound socket binding used for mail

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 21.0.0.Beta1, 21.0.0.Final
    • None
    • Mail
    • None

    Description

      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>
      

      Attachments

        Activity

          People

            yborgess1@redhat.com Yeray Borges Santana
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: