Commit graph

43 commits

Author SHA1 Message Date
Chas Emerick
a0fb4273b2 Merge pull request #11 from dacamo76/readme-long-polling-example
Update README with long-polling usage example
2014-09-13 07:30:15 -04:00
Daniel Alberto Cañas
478210ccb2 Update README with long-polling usage example 2014-09-12 16:26:30 -06:00
Chas Emerick
e4a15227f6 [maven-release-plugin] prepare for next development iteration 2014-09-09 08:02:07 -04:00
Chas Emerick
09e7772fd7 [maven-release-plugin] prepare release bandalore-0.0.6 2014-09-09 08:02:07 -04:00
Chas Emerick
42751b891a 0.0.6 2014-09-09 07:57:14 -04:00
Daniel Alberto Cañas
daffed7bcc Minimize Integer object construction
Use Integer.valueOf(int) factory method instead of new Integer(int) constructor
to take advantage of caching.
This is especially useful when creating millions of
ReceiveMessageRequests with the same options.
2014-06-24 21:48:33 -06:00
Daniel Alberto Cañas
ce8c02bdc4 Adds long polling support
Adds long polling support to receive message requests.
The option 'wait-time-seconds' has been added to the 'receive' function.
This option behaves exactly the same as the 'WaitTimeSeconds' parameter
of the ReceiveMessageRequest class in the AWS Java SDK.

The following text is shamelessly taken from the (docs
http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-long-polling.html):

Long polling allows the Amazon SQS service to wait until a message is
available in the queue before sending a response. This helps reduce the
amount of empty responses, thus reducing costs.

Another benefit is reducing the false empty reponses, where messages are
available in the queue but are not included in the response.
This happens when Amazon SQS uses short (standard) polling, the default
behavior, where only a subset of the servers (based on a weighted random
distribution) are queried to see if any messages are available to
include in the response. On the other hand, when long polling is
enabled, Amazon SQS queries all of the servers.
2014-06-24 21:18:06 -06:00
Daniel Alberto Cañas
98cb434787 Bumps aws-sdk-java to 1.8.0
Updates version to support long polling.
2014-06-24 16:46:04 -06:00
Chas Emerick
bfb0fca2e7 0.0.5 in README 2013-12-11 07:46:15 -05:00
Chas Emerick
e9f1afbb50 [maven-release-plugin] prepare for next development iteration 2013-12-11 06:55:22 -05:00
Chas Emerick
3d1c859c62 [maven-release-plugin] prepare release bandalore-0.0.5 2013-12-11 06:55:22 -05:00
Tim Chagnon
382fd20418 Make :prefix a keyword argument of list-queues 2013-11-26 10:21:16 -08:00
Tim Chagnon
960c5e4966 Add optional prefix argument to list-queues 2013-11-25 21:07:09 -08:00
Chas Emerick
b7d186125c link to better page on IAM roles for Java devs 2013-10-17 06:52:15 -04:00
Chas Emerick
e31c010c08 [maven-release-plugin] prepare for next development iteration 2013-10-17 06:47:08 -04:00
Chas Emerick
14b7b05b70 [maven-release-plugin] prepare release bandalore-0.0.4 2013-10-17 06:47:07 -04:00
Chas Emerick
e4fe404f72 0.0.4 2013-10-17 06:29:49 -04:00
Chas Emerick
5a84c6d71b github doesn't like HTML in its markdown... 2013-10-17 06:24:27 -04:00
Chas Emerick
a2fc3400bc add doc urging use of IAM roles in production, ref gh-4 2013-10-17 06:19:06 -04:00
Kei Tsuji
21ed5eb278 Adding support for calling AmazonSQSClient. without id/password to support authentication via IAM role.
From EC2 instance with IAM Role, we can now create client like this (create-client).
2013-10-17 13:16:35 +09:00
Chas Emerick
48c5f17ad5 Make it slightly more clear that :max-wait is denominated in milliseconds 2013-02-13 14:04:46 -05:00
Chas Emerick
b76312303a tweak readme for 0.0.3 2012-10-02 08:33:05 -04:00
Chas Emerick
47b44e7555 [maven-release-plugin] prepare for next development iteration 2012-10-02 08:33:05 -04:00
Chas Emerick
49e54854da [maven-release-plugin] prepare release bandalore-0.0.3 2012-10-02 08:33:05 -04:00
Chas Emerick
eb2b3524ee upgrade to latest AWS SDK, tweak APIs usage to suit. 2012-10-02 08:33:05 -04:00
Chas Emerick
9b782e4817 default to Clojure 1.4.0 2012-10-02 08:33:05 -04:00
Chas Emerick
60ed575738 remove last asciidoc link 2012-02-24 11:14:34 -05:00
Chas Emerick
0ecacd49dd [maven-release-plugin] prepare for next development iteration 2012-02-24 11:05:20 -05:00
Chas Emerick
cdc1c59924 [maven-release-plugin] prepare release bandalore-0.0.2 2012-02-24 11:05:19 -05:00
Chas Emerick
112d6121d5 readme asciidoc -> markdown 2012-02-24 11:01:53 -05:00
Chas Emerick
6273806597 integration tests with all supported versions of Clojure 2012-02-24 11:01:53 -05:00
Chas Emerick
d55dbb0590 Clojure 1.3.0 compatibility; use it as the default dependency, fixes gh-1 2012-02-24 11:01:53 -05:00
Chas Emerick
7ae72ff7d9 test tweaks 2012-02-24 11:01:49 -05:00
Chas Emerick
3dfd311a9c fix maven groupId 2011-02-23 07:50:47 -05:00
Chas Emerick
978cfe5945 [maven-release-plugin] prepare for next development iteration 2011-02-23 07:38:57 -05:00
Chas Emerick
9066830eb0 [maven-release-plugin] prepare release bandalore-0.0.1 2011-02-23 07:38:57 -05:00
Chas Emerick
3dda6bc11a proper set of tests 2011-02-23 07:09:15 -05:00
Chas Emerick
744b458faa default to receiving no message attributes 2011-02-23 07:09:05 -05:00
Chas Emerick
a2e0919240 fix impl of set-queue-attrs 2011-02-23 07:08:38 -05:00
Chas Emerick
d421073b59 project metadata / versioning tweaks 2011-02-22 14:07:48 -05:00
Chas Emerick
7385387d44 add note about logging to README 2011-02-22 14:07:29 -05:00
Chas Emerick
b46eb36beb cemerick groupId -> com.cemerick to satisfy maven central requirement 2011-02-22 11:00:15 -05:00
Chas Emerick
cab0f2fd29 Initial commit. 2011-02-18 14:10:00 -05:00