This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sqs.message: Raising an exception in decode() should not abort parsing
Since AWS seems to return Body before ReceiptHandle, raising an exception in decode() will abort processing before the receipt handle is read. This is a problem, because there's no way to dequeue the message without the handle. Instead, wait to invoke decode() until parsing is finished.
- Loading branch information
Paul Melnikow
committed
Oct 31, 2013
1 parent
ed669f7
commit cdef0b4
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters