Module: RMB

Defined in:
lib/rmb-rails.rb,
lib/submitter.rb,
lib/subscriber.rb,
lib/listener_main.rb,
lib/listener_client.rb,
lib/stomp_subscriber.rb,
lib/mechanize_submitter.rb

Defined Under Namespace

Classes: ListenerClient, ListenerMain, MechanizeSubmitter, StompSubscriber, Submitter, Subscriber

Constant Summary collapse

RMB_Properties =
  • Call listener_client.start to start the daemon.

{
   :key => "<<fill>>",                               
   :subscriber => {
                    :class_name => "<<fill>>"   #set this to selected subclass of Subscriber
                                                # <== add more properties for your Subscriber here
                  },
   :submitter  => {
                    :class_name => "<<fill>>"   #set this to selected subclass of Submitter
                                                # <== add more properties for your Submitter here
                  },
   :working_dir => "<<fill>>",                  #set this to the RAILS_ROOT directory
   
   :daemon_options => { #these options are passed directly to the class method Daemons.run(target, options)
                           :app_name       => "",             #custom name for this daemon, set by ListenerClient#setup
                           :ARGV           => nil,            #use the program defaults
                           :dir_mode       => :normal,        #requires absolute path
                           :dir            => "<<fill>>",     #this is set to "#{working_dir}/tmp/pids" by ListenerClient#setup
                           :multiple       => false,          #this will allow multiple daemons to run
                           :ontop          => false,          #
                           :mode           => :load,
                           :backtrace      => false,
                           :monitor        => false,
                           :log_output     => true,
                           :keep_pid_files => true,
                           :hard_exit      => true
                         }
}
LD =

prefix for all listener_daemon artifacts produced: pids, log files, property files, and message files

"listener_daemon_"