Providers¶
Providers are responsible to retrieve messages and acknowledge it (delete from source).
SQSProvider¶
SQSProvider
(located at loafer.ext.aws.providers
) receives the following options:
queue_name
: the queue nameendpoint_url
(optional): the base url, only usefull if you don’t use AWSuse_ssl
(optional, default=True): SSL usageoptions
: (optional): adict
with SQS options to retrieve messages. Example:{'WaitTimeSeconds: 5, 'MaxNumberOfMessages': 5}
Usually, the provider are not configured manually, but set by Routes and it’s helper classes.