mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -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
|
case @mqtype
|
||||||
when "fanout"
|
when "fanout"
|
||||||
#@target.bind(MQ.fanout(@url.path, :durable => true))
|
#@target.bind(MQ.fanout(@url.path, :durable => true))
|
||||||
@target.bind(MQ.fanout(@url.path))
|
@target.bind(MQ.fanout(@name))
|
||||||
when "direct"
|
when "direct"
|
||||||
@target.bind(MQ.direct(@url.path))
|
@target.bind(MQ.direct(@name))
|
||||||
when "topic"
|
when "topic"
|
||||||
@target.bind(MQ.topic(@url.path))
|
@target.bind(MQ.topic(@name))
|
||||||
end # case @mqtype
|
end # case @mqtype
|
||||||
|
|
||||||
@target.subscribe(:ack => true) do |header, message|
|
@target.subscribe(:ack => true) do |header, message|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue