Class: ActiveJob::QueueAdapters::SqsAsyncAdapter
- Inherits:
-
SqsAdapter
- Object
- SqsAdapter
- ActiveJob::QueueAdapters::SqsAsyncAdapter
- Defined in:
- lib/active_job/queue_adapters/sqs_async_adapter.rb
Overview
Asynchronous adapter for Amazon SQS ActiveJob This adapter queues jobs asynchronously (ie non-blocking).
An error handler can be configured with:
Aws::ActiveJob::SQS.config.async_queue_error_handler = ->(error, job, send_message_opts) { ... }
To use this adapter, set up as:
config.active_job.queue_adapter = :sqs_async
Method Summary
Methods inherited from SqsAdapter
#enqueue, #enqueue_after_transaction_commit?, #enqueue_all, #enqueue_at