Is there a way to make the block participant stateless?
- The block participant code does not refer to variable defined
outside the block.
- Same block participant is loaded by all workers and the engine.
Sample participant:
engine.register_participant('trace') do |workitem|
puts workitem.fields['foo']
end
PS: I am using RuoteKit on rails.
PPS: Ruote documentation states that block participants are stateful.
I am trying to understand if this restriction applies under the
circumstances explained above.
--
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