Sha256: 61ed603cf66ccd3e64da2c84e57c409296c698afad6837bd32cffad2db41a065

Contents?: true

Size: 649 Bytes

Versions: 13

Compression:

Stored size: 649 Bytes

Contents

# Allow examples to be run in-place without requiring a gem install
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../../lib'

require 'modern_times'
require 'rubygems'
require 'erb'
require 'yaml'
require 'base_request_worker'
require 'char_count_worker'
require 'exception_raiser_worker'
require 'length_worker'
require 'print_worker'
require 'reverse_worker'
require 'triple_worker'

config = YAML.load(ERB.new(File.read(File.join(File.dirname(__FILE__), '..', 'jms.yml'))).result(binding))
ModernTimes::JMS::Connection.init(config)

manager = ModernTimes::Manager.new
manager.stop_on_signal
manager.persist_file = 'modern_times.yml'
manager.join

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
modern_times-0.3.12 examples/advanced_requestor/manager.rb
modern_times-0.3.11 examples/advanced_requestor/manager.rb
modern_times-0.3.10 examples/advanced_requestor/manager.rb
modern_times-0.3.9 examples/advanced_requestor/manager.rb
modern_times-0.3.8 examples/advanced_requestor/manager.rb
modern_times-0.3.7 examples/advanced_requestor/manager.rb
modern_times-0.3.6 examples/advanced_requestor/manager.rb
modern_times-0.3.5 examples/advanced_requestor/manager.rb
modern_times-0.3.4 examples/advanced_requestor/manager.rb
modern_times-0.3.3 examples/advanced_requestor/manager.rb
modern_times-0.3.2 examples/advanced_requestor/manager.rb
modern_times-0.3.1 examples/advanced_requestor/manager.rb
modern_times-0.3.0 examples/advanced_requestor/manager.rb