-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1 on OSE
-
None
-
%
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 **