Liking cljdoc? Tell your friends :D

sqs-consumer.sequential


create-consumerclj

(create-consumer & {:keys [process-fn] :as args})
source

extract-messageclj

(extract-message config message)

Extracts the message from the SQS receive messages response.

Each message is an SQS Message https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/index.html?com/amazonaws/services/sqs/model/Message.html.

Extracts the message from the SQS receive messages response.

Each message is an SQS Message https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/index.html?com/amazonaws/services/sqs/model/Message.html.
sourceraw docstring

sequential-processclj

(sequential-process process-fn)
source

with-auto-deleteclj

(with-auto-delete process-fn)

Auto deletes the message from SQS whenever process-fn returns a truthy value. If a non-truthy value is returned or an exception is thrown the message will not be deleted.

Auto deletes the message from SQS whenever process-fn returns a truthy value.
If a non-truthy value is returned or an exception is thrown the message will not be deleted.
sourceraw docstring

with-error-handlingclj

(with-error-handling process-fn error-handler)

Calls the given error handler when any error occurs further down the handler stack.

Calls the given error handler when any error occurs further down the handler stack.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close