io.pythagoras.messagebus.adapter.awssnssqs.config.DeadLetterQueue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of adapter-sqs-sns Show documentation
Show all versions of adapter-sqs-sns Show documentation
Pythagoras SQS/SNS Adapter for Message Bus
package io.pythagoras.messagebus.adapter.awssnssqs.config;
public class DeadLetterQueue {
private boolean enabled = true;
private String name = "DeadLetterQueue";
private Integer messageRetentionPeriod = 1209600;
private Integer maxReceiveCount = 1;
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getMessageRetentionPeriod() {
return messageRetentionPeriod;
}
public void setMessageRetentionPeriod(Integer messageRetentionPeriod) {
this.messageRetentionPeriod = messageRetentionPeriod;
}
public Integer getMaxReceiveCount() {
return maxReceiveCount;
}
public void setMaxReceiveCount(Integer maxReceiveCount) {
this.maxReceiveCount = maxReceiveCount;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy