lib/hornetq.rb in jruby-hornetq-0.2.3.alpha vs lib/hornetq.rb in jruby-hornetq-0.2.5.alpha
- old
+ new
@@ -1,9 +1,6 @@
include Java
-require 'hornetq/server'
-require 'hornetq/client'
-require 'hornetq/uri'
module HornetQ
# Netty Class name
NETTY_CONNECTOR_CLASS_NAME = 'org.hornetq.core.remoting.impl.netty.NettyConnectorFactory'
@@ -25,6 +22,12 @@
def self.netty_port(port)
port ||= DEFAULT_NETTY_PORT
return java.lang.Integer.new(port)
end
+
end
+
+require 'hornetq/server'
+require 'hornetq/client'
+require 'hornetq/uri'
+require 'hornetq/common/logging'