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

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

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Object) default



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

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

Instance Method Details

- (Object) middleware



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

def middleware
  @middleware ||= DefaultMiddleware.default
end