Module: EventQ

Defined in:
lib/eventq_aws.rb,
lib/eventq_aws/version.rb,
lib/eventq_aws/aws_queue_client.rb,
lib/eventq_aws/aws_queue_worker.rb,
lib/eventq_aws/aws_eventq_client.rb,
lib/eventq_aws/aws_queue_manager.rb,
lib/eventq_aws/aws_status_checker.rb,
lib/eventq_aws/jruby/aws_queue_worker.rb,
lib/eventq_aws/aws_subscription_manager.rb

Defined Under Namespace

Modules: Amazon

Class Method Summary collapse

Class Method Details

.create_event_type(event_type) ⇒ Object



24
25
26
27
28
29
# File 'lib/eventq_aws.rb', line 24

def self.create_event_type(event_type)
  if EventQ.namespace == nil
    return event_type
  end
  return "#{EventQ.namespace}-#{event_type}"
end

.create_queue_name(queue_name) ⇒ Object



30
31
32
33
34
35
# File 'lib/eventq_aws.rb', line 30

def self.create_queue_name(queue_name)
  if EventQ.namespace == nil
    return queue_name
  end
  return "#{EventQ.namespace}-#{queue_name}"
end

.namespaceObject



18
19
20
# File 'lib/eventq_aws.rb', line 18

def self.namespace
  @namespace
end

.namespace=(value) ⇒ Object



21
22
23
# File 'lib/eventq_aws.rb', line 21

def self.namespace=(value)
  @namespace = value
end