Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-2035

SNI port for MQTT and STOMP mapping inconsistency

XMLWordPrintable

    • % %

      Number of ports for MQTT and STOMP are switched in broker.xml#openshift. Protocols are binded as the message during creation of gear states.

      broker.xml#openshift

          <bean id="addressPolicy" class="org.apache.activemq.broker.PublishedAddressPolicy">
              <property name="portMapping">
                <map>
                  <entry key="${OPENSHIFT_FUSE_OPENWIRE_PORT}" value="${OPENSHIFT_FUSE_OPENWIRE_PROXY_PORT}"/>
                  <entry key="${OPENSHIFT_FUSE_MQTT_PORT}" value="${OPENSHIFT_FUSE_MQTT_PROXY_PORT}"/>
                  <entry key="${OPENSHIFT_FUSE_AMQP_PORT}" value="${OPENSHIFT_FUSE_AMQP_PROXY_PORT}"/>
                  <entry key="${OPENSHIFT_FUSE_STOMP_PORT}" value="${OPENSHIFT_FUSE_STOMP_PROXY_PORT}"/>
                  <entry key="${OPENSHIFT_FUSE_OPENWIRE_SSL_PORT}" value="2303"/>
                 ** <entry key="${OPENSHIFT_FUSE_MQTT_SSL_PORT}" value="2304"/> **
                  <entry key="${OPENSHIFT_FUSE_AMQP_SSL_PORT}" value="2305"/>
                 ** <entry key="${OPENSHIFT_FUSE_STOMP_SSL_PORT}" value="2306"/> **
                </map>
              </property>
          </bean>
      

      Gear creation client message

      Cartridge fuse endpoint OPENSHIFT_FUSE_OPENWIRE_SSL_PORT is exposed at URL tls:root-test.example.com:2303
      ** Cartridge fuse endpoint OPENSHIFT_FUSE_STOMP_SSL_PORT is exposed at URL tls:root-test.example.com:2304 **
      Cartridge fuse endpoint OPENSHIFT_FUSE_AMQP_SSL_PORT is exposed at URL tls:root-test.example.com:2305
      ** Cartridge fuse endpoint OPENSHIFT_FUSE_MQTT_SSL_PORT is exposed at URL tls:root-test.example.com:2306 **
      
      

              hchirino Hiram Chirino
              dsimansk@redhat.com David Simansky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: