2 Replies Latest reply on Nov 28, 2011 9:34 AM by Christos Vasilakis

    STOMP - JBoss AS 7 - Bind Adress for connector

    Christos Vasilakis Newbie

      Hi there,

       

      I have added the followiing configuration to jboss as 7.1..0 Beta1

       

                     <acceptor name="stomp-acceptor">

                              <factory-class>

                                  org.hornetq.core.remoting.impl.netty.NettyAcceptorFactory

                              </factory-class>

                              <param key="protocol" value="stomp"/>

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

                          </acceptor>

       

      The STOMP connector works fine, but I can not set it to bind to the default bind.address for jboss. It always biind to the localhost

       

      I get this in the console

       

      11:32:46,955 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} casper.rd.forthnet.gr:5455 for CORE protocol

      11:32:46,976 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} localhost:61613 for STOMP protocol

      11:32:46,993 INFO  [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-4) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} casper.rd.forthnet.gr:5445 for CORE protocol

       

      I tried adding "bind-address" as key but failed?

       

      Any help?

       

      Thanks

      Christos