Sha256: 4753b1974240ff690e37c02ab53e74689357da23150e9846096972e3d85e0370

Contents?: true

Size: 778 Bytes

Versions: 6

Compression:

Stored size: 778 Bytes

Contents

#!/usr/bin/env jruby

dev_lib_dir = File.dirname(__FILE__) + '/../target/org.torquebox.torquebox-naming-container/lib/'

require 'rubygems'

# Require torquebox-vfs but unset the VFS protocol handlers because
# VFSUtils.toURI(url) has bugs when used outside of AS on Windows
require 'torquebox-vfs'
java.lang.System.setProperty('java.protocol.handler.pkgs', 'java.net')

if ( File.exist?( dev_lib_dir ) )
  $:.unshift File.join( File.dirname(__FILE__), '..', 'lib' )
  Dir[ "#{dev_lib_dir}/*.jar" ].each do |jar|
    require jar
  end
else
  require 'torquebox-messaging-container'
end

require 'torquebox-naming-container'
require 'torquebox/messaging/commands/message_broker'

command = TorqueBox::Messaging::Commands::MessageBroker.new
command.parse!( ARGV ) 

command.run()

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
torquebox-messaging-container-1.1.1-java bin/trq-message-broker
torquebox-messaging-container-1.1-java bin/trq-message-broker
torquebox-messaging-container-1.0.1-java bin/trq-message-broker
torquebox-messaging-container-1.0.0-java bin/trq-message-broker
torquebox-messaging-container-1.0.0.CR2-java bin/trq-message-broker
torquebox-messaging-container-1.0.0.CR1-java bin/trq-message-broker