mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
forgot to check this in (fixes queue naming)
This commit is contained in:
parent
75910bb656
commit
1213d77d94
1 changed files with 3 additions and 3 deletions
|
@ -31,11 +31,11 @@ class LogStash::Inputs::Amqp < LogStash::Inputs::Base
|
|||
case @mqtype
|
||||
when "fanout"
|
||||
#@target.bind(MQ.fanout(@url.path, :durable => true))
|
||||
@target.bind(MQ.fanout(@url.path))
|
||||
@target.bind(MQ.fanout(@name))
|
||||
when "direct"
|
||||
@target.bind(MQ.direct(@url.path))
|
||||
@target.bind(MQ.direct(@name))
|
||||
when "topic"
|
||||
@target.bind(MQ.topic(@url.path))
|
||||
@target.bind(MQ.topic(@name))
|
||||
end # case @mqtype
|
||||
|
||||
@target.subscribe(:ack => true) do |header, message|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue