3 Replies Latest reply on Jan 20, 2010 8:47 AM by uwe schaefer

    Problem with Configuration of Embedded

    uwe schaefer Newbie



      changing from BETA3 to GA, i face a problem with the configuration of HornetQ.

      Using the embedded HornetQ, i used to run this code for config:


      Configuration configuration = new ConfigurationImpl();


      String netty = NettyAcceptorFactory.class.getName();

      Map acceptorParams = config.getAcceptorParams();

      TransportConfiguration transpConf = new TransportConfiguration(netty, acceptorParams); configuration.getAcceptorConfigurations().add(transpConf);

      server = new HornetQServerImpl(configuration);



      The Map contains two keys:

      hornetq.remoting.netty.port and



      After upgrading i face a warning saying:

      The following keys are invalid for configuring the acceptor: hornetq.remoting.netty.port, hornetq.remoting.netty.host the acceptor will not be started.


      which i find weird, because they were created by ConfigurationImpl.


      Which parameters does the current HornetQ/Netty expect?

      (Using Netty 3.1.5.GA, as in maven repository)


      Thanks, Uwe