Module: ModernTimes::JMS::RequestWorker::ClassMethods

Defined in:
lib/modern_times/jms/request_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)



22
23
24
# File 'lib/modern_times/jms/request_worker.rb', line 22

def default_fail_queue_target
  false
end

#response(options) ⇒ Object

Define the marshaling and time_to_live that will occur on the response



12
13
14
# File 'lib/modern_times/jms/request_worker.rb', line 12

def response(options)
  @response_options = options
end

#response_optionsObject



16
17
18
19
# File 'lib/modern_times/jms/request_worker.rb', line 16

def response_options
  # Get the response marshaler, defaulting to the request marshaler
  @response_options
end