Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does objects implemeting JiraRestClient interface handle concurrent requests or not ?

Oussama Elbourakkadi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2023

Hi all, I hope you are doing well.

I am using Java Jira API within a Spring Boot solution that extracts relevant data from Jira, targeting a specific patch/release, and generates automated reports to alert my entire team.

For my Spring Boot application, I have mainly the followed bean:

@Bean
public JiraRestClient jiraRestClient() throws URISyntaxException {
final String username = ConfigUtils.getProperty("jiraUsername");
final String password = ConfigUtils.getProperty("jiraPassword");
JiraRestClientFactory jiraFactory = new AsynchronousJiraRestClientFactory();
URI jiraURI = new URI(jiraURL);
return jiraFactory.createWithBasicHttpAuthentication(jiraURI, username, password);
}

I would like to know if with the implementation above, my JiraRestClient bean will be able to handle multiple/concurrent requests. Or that each request is executed sequentially.

For further information, I am mainly submitting queries through:

SearchResult searchResult = jiraRestClient.getSearchClient()
.searchJql(query, pageSize, startAt, null)
.claim();

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events