2 Replies Latest reply on Nov 21, 2014 3:47 AM by ks appendium

    How to specifing remote host in http-connector for hornetq jms connectionfactory

    ks appendium Newbie



      I am trying to migrate from Jboss 7.1.3.Final to wildFly 8.1.0.Final.


      In hornetq configuration


      The following use to work in 7.x


                          <connector name="netty">


                              <param key="host" value="remote-ip.x.x.x" />

                              <param key="port" value="5445" />

                              <param key="ssl-enabled" value="true" />





      But in wildfly 8.1.0, it ignores the host


      <subsystem xmlns="urn:jboss:domain:messaging:2.0">




                          <http-connector name="http-connector" socket-binding="https">

                              <param key="http-upgrade-endpoint" value="http-acceptor"/>

                              <param key="ssl-enabled" value="true"/>

                              <param key="host" value="remote-ip.x.x.x" />





      It is actually getting overwritten in the class org.jboss.as.messaging.HornetQService with the following line  tc.getParams().put(HOST, host);



      Question is how do I specify a host other than jboss.bind.address for the JMSConnectionfactory? The reason why I can't use the jboss.bind.address is because wildfly is running in the virtual machine with a local/intranet ip not the public ip to reach that host.