Module: Qwirk::ReplyWorker::ClassMethods

Defined in:
lib/qwirk/reply_worker.rb

Instance Method Summary collapse

Instance Method Details

#default_fail_queue_targetObject

By default, exceptions don’t get forwarded to a fail queue (they get returned to the caller)



14
15
16
# File 'lib/qwirk/reply_worker.rb', line 14

def default_fail_queue_target
  false
end

#response(options) ⇒ Object

Define the marshaling and time_to_live that will occur on the response



9
10
11
# File 'lib/qwirk/reply_worker.rb', line 9

def response(options)
  queue_options[:response] = options
end