lib/hornetq.rb in jruby-hornetq-0.4.0 vs lib/hornetq.rb in jruby-hornetq-0.5.0.alpha
- old
+ new
@@ -25,14 +25,15 @@
return java.lang.Integer.new(port)
end
# Convert string into a HornetQ SimpleString
def self.as_simple_string(str)
- str.is_a?(Java::org.hornetq.api.core::SimpleString) ? str : Java::org.hornetq.api.core::SimpleString.new(str.to_s)
+ str.is_a?(Java::org.hornetq.api.core::SimpleString) ? str : Java::org.hornetq.api.core::SimpleString.new(str.to_s)
end
-
+
end
+require 'hornetq/version'
require 'hornetq/server'
require 'hornetq/client'
require 'hornetq/uri'
require 'hornetq/common/logging'