Client libraries

Every library does the same few things: publish, claim, run the job, and ack or fail it. What happens after a failure is never up to the library: the queue's settings decide whether and when a message comes back, and when it goes to the dead-letter set. A library only retries a request that did not reach the server, and only where repeating it is safe.

Each language library has a worker that keeps the lease alive while a job runs and stops cleanly on a signal, and passes the conformance suite. Each framework integration hands the framework's own retries, backoff and failed-job handling to the queue; its page says, under "How it behaves", what each framework setting does.

Languages

Language Install
PHP composer require lessormq/client
Python pip install lessormq
TypeScript and JavaScript npm install lessormq
Go go get github.com/gsid-nl/lessormq-go
Java dev.lessormq:lessormq
.NET dotnet add package LessorMQ
Ruby gem install lessormq

Frameworks

Framework Install
Symfony Messenger composer require lessormq/messenger
Laravel composer require lessormq/laravel
Spring Boot dev.lessormq:lessormq-spring-boot-starter
Django pip install lessormq-django
Celery pip install lessormq-celery
Rails bundle add lessormq-rails

Another language

The protocol is a handful of HTTP calls, so a worker in a language without a library is a loop of a few dozen lines: see Writing a client. Working examples for every library are in Examples.