so i'm having a little trouble with passing vars among participants
when using concurrence.

say i have two participants:

reverse_file  - takes a file and reverses it, renaming with a
timestamp and a different ext, then puts it somewhere
tar_files - takes an array of filenames, and tars them.

i have a list of input files and want to concurrently reverse and
rename them, then pass them to a tar_files participant.  what's the
best way to pass the live output info from a few concurrent
participants to successive participants downstream?   i have a couple
ideas, one that I am using right now, but just wanted to get the pros'
inputs. thx

input_files = ['test1.txt', 'test2.txt']

pdef = Ruote.process_definition do

 sequence do

    concurrence :merge_type => 'mix' do
        inputs_files.each do |i|
             reverse_file :filename => i
        end
    end

    tar_files :files => ???

 end

end

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to