1 Reply Latest reply on Jun 27, 2012 6:27 AM by garytully

    Stomp configuration in ESB 7

    myender

      Hi,

       

      I just installed ESB 7 and started looking at the configuration files in etc to determine how to setup a stomp listener.

       

      I see system.properties setting the default openwire port which is referenced in the fabric.server-default.cfg. The default activemq.xml file simply specifies a transportConnector for openwire with a 0.0.0.0:0 configuration.

       

      What is the recommended way for adding a Stomp connector with these configuration files?

       

      Thanks,

       

      -john

        • 1. Re: Stomp configuration in ESB 7
          garytully

          There is some detail on the relevant commands at

          http://fusesource.com/docs/esbent/7.0/amq_admin/FMQAdminConfigSolo.html

           

          But you are on the right track.

           

          You need to edit the activemq.xml and add a stomp transport connector in the normal way and give it the name: stomp.

           

          <transportConnector name="stomp" uri="stomp://0.0.0.0:0" />

          Use the wildcard address so that the configuration is reusable and specify the stomp-port=xxxx property in the .cfg file.

          (The pid factory will replace the port in any named transport connector url, where the name matches a property called "-port")

           

          You can manually edit etc/org.fusesource.mq.fabric.server-default.cfg or use the command shell config:propset command.