Class: OpenWFE::NullParticipant

Inherits:
Object
  • Object
show all
Includes:
LocalParticipant
Defined in:
lib/openwfe/participants/participants.rb

Overview

The NullParticipant never replies, it simply discards the workitems it receives.

Instance Attribute Summary

Attributes included from Contextual

#application_context

Instance Method Summary collapse

Methods included from LocalParticipant

#call_block, #get_flow_expression, #reply_to_engine

Methods included from Contextual

#get_work_directory, #init_service, #lookup

Methods included from Logging

#ldebug, #ldebug_callstack, #lerror, #lfatal, #linfo, #llog, #lunknown, #lwarn

Methods included from OwfeServiceLocator

#get_engine, #get_error_journal, #get_expool, #get_expression_map, #get_expression_pool, #get_expression_storage, #get_expression_storages, #get_journal, #get_participant_map, #get_scheduler, #get_wfid_generator

Instance Method Details

#consume(workitem) ⇒ Object

Simply discards the incoming workitem



221
222
223
# File 'lib/openwfe/participants/participants.rb', line 221

def consume (workitem)
    # does nothing and does not reply to the engine.
end