Added constant for maxElapsedTime DmaapConsumer.java
Issue-ID: SO-1490
Change-Id: Ifed2ea57eb4cfb42fc7a34ebf7bfd2c8954b05b0
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
import org.onap.so.client.dmaap.rest.RestConsumer;
public abstract class DmaapConsumer extends DmaapClient {
+ static final int MAX_ELAPSED_TIME = 180000;
public DmaapConsumer() throws IOException {
super("dmaap/default-consumer.properties");
* time in milliseconds
*/
public int getMaximumElapsedTime() {
- return 180000;
+ return MAX_ELAPSED_TIME;
}