vendor/bundle/ruby/1.8/gems/activemessaging-0.9.0/lib/activemessaging/gateway.rb
def dispatch(message)
        @@guard.synchronize {
          begin
            prepare_application
            _dispatch(message)
          rescue Object => exc
            ActiveMessaging.logger.error "Dispatch exception: #{exc}"
            ActiveMessaging.logger.error exc.backtrace.join("\n\t")
            raise exc
          ensure
            ActiveMessaging.logger.flush rescue nil
            reset_application
          end
        }
      end
# Starts up an message listener to start polling for messages on each configured connection, and dispatching processing
Starts up an message listener to start polling for messages on each configured connection, and dispatching processing
Starts up an message listener to start polling for messages on each configured connection and dispatching processing
def dispatch(message)
        @@guard.synchronize {
          begin
            prepare_application
            _dispatch(message)
          rescue Object => exc
            ActiveMessaging.logger.error "Dispatch exception: #{exc}"
            ActiveMessaging.logger.error exc.backtrace.join("\n\t")
            raise exc
          ensure
            ActiveMessaging.logger.flush rescue nil
            reset_application
          end
        }
      end
def dispatch ( message ) @@guard . synchronize { begin prepare_application _dispatch ( message ) rescue Object => exc ActiveMessaging . logger . error "Dispatch exception: #{exc}" ActiveMessaging . logger . error exc . backtrace . join ( "\n\t" ) raise exc ensure ActiveMessaging . logger . flush rescue nil reset_application end } end
Starts up an message listener to start polling for messages on each configured connection, and dispatching processing
Starts up an message listener to start polling for messages on each configured connection and dispatching processing
message