trying to to check any schedule is created prior to submit my schedule with the same name.but request seems to be not completing at the below end point.
String urlGet = urlHost + "/Extractions/ScheduleGetByName(ScheduleName='" + ScheduleName + "')"; HttpGet request = new HttpGet(urlGet); request.addHeader("Authorization", "Token "+sessionToken);
System.out.println("Retrieve Schedule with this name: "+ ScheduleName); --running till here
HttpResponse response = httpclient.execute(request); --at here it is getting stuck
Is this the same question as: https://community.developers.refinitiv.com/questions/22191/while-retrieving-schedule-id-with-schedule-name-re.html ?
You said it stuck on the third request right? IIRC, Apache allows concurrent connections to only two connections per client by default. So you should try to increase the MaxConnPerRoute and see if it work.
Then again, I believe you could use Schedules endpoint to retrieves all schedules instead.