lib/ruote/svc/dispatch_pool.rb
# Returns true if the participant doesn't want the #consume to happen
# in a new Thread.
#
Returns true if the participant doesn't want the #consume to happen
in a new Thread.
Returns true if the participant doesn ' t want the #consume to happen in a new Thread .
def do_not_thread?(participant, msg)
      Ruote.participant_send(
        participant,
        [ :do_not_thread, :do_not_thread?, :dont_thread, :dont_thread? ],
        'workitem' => Ruote::Workitem.new(msg['workitem']), :default => false)
    end
def do_not_thread? ( participant , msg ) Ruote . participant_send ( participant , [ :do_not_thread , :do_not_thread? , :dont_thread , :dont_thread? ] , 'workitem' => Ruote :: Workitem . new ( msg [ 'workitem' ] ) , :default => false ) end
Returns true if the participant doesn't want the #consume to happen
in a new Thread.
Returns true if the participant doesn ' t want the #consume to happen in a new Thread .
# :default => false makes participant_send return false if no method # were found (else it would raise a NoMethodError)
participant
msg