Module: TorqueBox::Messaging::ProcessorMiddleware::DefaultMiddleware Private

Included in:
MessageProcessor, Task
Defined in:
lib/torquebox/messaging/processor_middleware/default_middleware.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.defaultObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



27
28
29
# File 'lib/torquebox/messaging/processor_middleware/default_middleware.rb', line 27

def self.default
  ProcessorMiddleware::Chain.new.append(WithTransaction)
end

Instance Method Details

#middlewareObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



31
32
33
# File 'lib/torquebox/messaging/processor_middleware/default_middleware.rb', line 31

def middleware
  @middleware ||= DefaultMiddleware.default
end