# File lib/ruote/part/dispatch_pool.rb, line 56 def dispatch_cancel (msg) flavour = msg['flavour'] participant = @context.plist.instantiate(msg['participant']) begin participant.cancel(Ruote::FlowExpressionId.new(msg['fei']), flavour) rescue Exception => e raise(e) if flavour != 'kill' end @context.storage.put_msg( 'reply', 'fei' => msg['fei'], 'workitem' => msg['workitem']) end