mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 21:38:06 +01:00
Publish directory updates to multiple SQS queues.
This commit is contained in:
committed by
Jon Chambers
parent
6af7bfb536
commit
9ee6419bc0
@@ -7,6 +7,8 @@ package org.whispersystems.textsecuregcm.configuration;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class SqsConfiguration {
|
||||
@NotEmpty
|
||||
@JsonProperty
|
||||
@@ -18,7 +20,7 @@ public class SqsConfiguration {
|
||||
|
||||
@NotEmpty
|
||||
@JsonProperty
|
||||
private String queueUrl;
|
||||
private List<String> queueUrls;
|
||||
|
||||
@NotEmpty
|
||||
@JsonProperty
|
||||
@@ -32,13 +34,11 @@ public class SqsConfiguration {
|
||||
return accessSecret;
|
||||
}
|
||||
|
||||
public String getQueueUrl() {
|
||||
return queueUrl;
|
||||
public List<String> getQueueUrls() {
|
||||
return queueUrls;
|
||||
}
|
||||
|
||||
public String getRegion() {
|
||||
return region;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user