Correct Rabbit defaults for headers
This commit is contained in:
@@ -47,7 +47,7 @@ public class RabbitConsumerProperties extends ConsumerProperties {
|
||||
|
||||
private boolean requeueRejected = true;
|
||||
|
||||
private String replyHeaderPatterns;
|
||||
private String[] replyHeaderPatterns = new String[] {"STANDARD_REPLY_HEADERS", "*"};
|
||||
|
||||
public String getPrefix() {
|
||||
return prefix;
|
||||
@@ -138,11 +138,11 @@ public class RabbitConsumerProperties extends ConsumerProperties {
|
||||
this.requeueRejected = requeueRejected;
|
||||
}
|
||||
|
||||
public String getReplyHeaderPatterns() {
|
||||
public String[] getReplyHeaderPatterns() {
|
||||
return replyHeaderPatterns;
|
||||
}
|
||||
|
||||
public void setReplyHeaderPatterns(String replyHeaderPatterns) {
|
||||
public void setReplyHeaderPatterns(String[] replyHeaderPatterns) {
|
||||
this.replyHeaderPatterns = replyHeaderPatterns;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ public class RabbitProducerProperties extends ProducerProperties {
|
||||
|
||||
private MessageDeliveryMode deliveryMode = MessageDeliveryMode.PERSISTENT;
|
||||
|
||||
private String[] replyHeaderPatterns = new String[] {"STANDARD_REQUEST_HEADERS", "*"};
|
||||
private String[] replyHeaderPatterns = new String[] {"STANDARD_REPLY_HEADERS", "*"};
|
||||
|
||||
public String getPrefix() {
|
||||
return prefix;
|
||||
|
||||
Reference in New Issue
Block a user