Abdulrazak-Alkl / activemessaging

Automatically exported from code.google.com/p/activemessaging
0 stars 0 forks source link

Amazon SQS queue name validation #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.  executing 'script/poller run' using the asqs adapter

What is the expected output? What do you see instead?
*  An exception is raised

What version of the product are you using? On what operating system?
*  Revision 94 on OS X

Please provide any additional information below.

lib/activemessaging/adapters/asqs.rb:247 should be:
raise "Queue already exists: #{qn}" if queues.has_key? qn

Original issue reported on code.google.com by ryandha...@gmail.com on 7 May 2007 at 8:58

GoogleCodeExporter commented 8 years ago
I see the problem - I"ll check in a fix - I am sometimes passing in a queue, and
sometimes a queue name to the same function - dumb error, thanks for catching 
it.

Original comment by kooks...@gmail.com on 10 May 2007 at 2:57

GoogleCodeExporter commented 8 years ago
fixed

Original comment by kooks...@gmail.com on 13 Jul 2007 at 12:49