From 744b458faac47cce51c6e3e7618b37c186c4a9c1 Mon Sep 17 00:00:00 2001 From: Chas Emerick Date: Wed, 23 Feb 2011 07:09:05 -0500 Subject: [PATCH] default to receiving no message attributes --- src/main/clojure/cemerick/bandalore.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/clojure/cemerick/bandalore.clj b/src/main/clojure/cemerick/bandalore.clj index db88625..0b525a5 100644 --- a/src/main/clojure/cemerick/bandalore.clj +++ b/src/main/clojure/cemerick/bandalore.clj @@ -111,7 +111,7 @@ :source-queue - the URL of the queue from which the message was received" [^AmazonSQSClient client queue-url & {:keys [limit visibility ^java.util.Collection attributes] :or {limit 1 - attributes #{"All"}}}] + attributes #{}}}] (let [req (-> (ReceiveMessageRequest. queue-url) (.withMaxNumberOfMessages (-> limit (min 10) (max 1))) (.withAttributeNames attributes))