bin/hornetq_server in jruby-hornetq-0.2.5.alpha vs bin/hornetq_server in jruby-hornetq-0.3.0.alpha

- old
+ new

@@ -30,12 +30,12 @@ # Allow sub items (1...ARGV.size).each do |i| config = config[ARGV[i]] || config[ARGV[i].to_sym] end puts "config=#{config.inspect}" - server = HornetQ::Server::Factory.create_server(config) + server = HornetQ::Server.create_server(config) else uri = ARGV[0] - server = HornetQ::Server::Factory.create_server(uri) + server = HornetQ::Server.create_server(uri) end server.enable_shutdown_on_signal server.start