Skip to content

Commit

Permalink
GH-824: Fix Log4j2Appender with headers exchange
Browse files Browse the repository at this point in the history
Fixes #824

**cherry-pick to 2.0.x*
garyrussell authored and artembilan committed Oct 10, 2018
1 parent cb3de34 commit 74354d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -716,7 +716,7 @@ else if ("fanout".equals(this.exchangeType)) {
x = new FanoutExchange(this.exchangeName, this.durable, this.autoDelete);
}
else if ("headers".equals(this.exchangeType)) {
x = new HeadersExchange(this.exchangeType, this.durable, this.autoDelete);
x = new HeadersExchange(this.exchangeName, this.durable, this.autoDelete);
}
else {
x = new TopicExchange(this.exchangeName, this.durable, this.autoDelete);

0 comments on commit 74354d4

Please sign in to comment.