diff options
Diffstat (limited to 'dmaap-dsa')
-rw-r--r-- | dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java b/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java index 47dfd79..8b7c727 100644 --- a/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java +++ b/dmaap-dsa/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java @@ -79,7 +79,7 @@ public class Subscriber { private List<String> getDMaaPData() { Client client = ClientBuilder.newClient(new ClientConfig()); WebTarget webTarget = client.target(url + "/" + consumerGroup + "/" + consumer); - Response response = webTarget.request().get(); + Response response = webTarget.queryParam("timeout", timeout).request().get(); return response.readEntity(List.class); } |