lib/propono/components/queue_subscription.rb in propono-0.4.0 vs lib/propono/components/queue_subscription.rb in propono-0.5.0
- old
+ new
@@ -21,10 +21,10 @@
@queue = QueueCreator.find_or_create(queue_name)
sns.subscribe(@topic.arn, @queue.arn, 'sqs')
end
def queue_name
- @queue_name ||= "#{config.application_name.gsub(" ", "_")}::#{@topic_id}"
+ @queue_name ||= "#{config.application_name.gsub(" ", "_")}-#{@topic_id}"
end
private
def config