From 543e7581a4e1c7a616a59a7c5acdd255a3f486e3 Mon Sep 17 00:00:00 2001 From: Lukasz Muszkieta Date: Fri, 30 Nov 2018 13:43:26 +0100 Subject: dmaap topic listening - bug fixing Change-Id: I9116138f81596029b0ba1edc8e7e095498a0772e Issue-ID: SO-1253 Signed-off-by: Lukasz Muszkieta --- .../so/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bpmn/so-bpmn-infrastructure-common/src/main') diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java index f29044456c..52f879b0ad 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java +++ b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/pnf/dmaap/PnfEventReadyDmaapClient.java @@ -117,6 +117,9 @@ public class PnfEventReadyDmaapClient implements DmaapClient { } catch (IOException e) { logger.error("Exception caught during sending rest request to dmaap for listening event topic", e); } + finally { + getRequest.reset(); + } } private List getCorrelationIdListFromResponse(HttpResponse response) throws IOException { -- cgit 1.2.3-korg