Graylog2 server amqp(Rabbit mq).

I did some tests with the graylog2 server, and the process is to create an exchange with the associated key and queue first in the graylog2 server that why I had to remove the Declare queue and Declare exchange because these has to come from the graylog2 server not the appender/publisher of log, also BasicPublish method take an exchange as argument not a queue.