quartz job suspended while creating httpclient

108 views Asked by At

I have created a quartz job, but I have seen that when I want to create a HttpClient from that job, it gets suspended when the program reaches the line

CloseableHttpClient clientToPost = HttpClients.createDefault(); 

Why does this happen?

0

There are 0 answers