How to close/terminate HTTP session from Jersey client side while communicating with BPMS REST endpoints ?

Solution Unverified - Updated -


  • In order to perform REST API calls to process execution server of Business Central , users are using the following Jersey based RESTful API. Since the call gets first authenticated and and then the REST call is made, is there a way to ensure that the request logs-out after the call completes? The motive behind this requirement is to ensure that HTTP based connections made underlying each RESTful request gets closed/terminated after a call completes, as sometimes the application server running the Business Central applications show active HTTP connections.
com.sun.jersey.api.client.ClientResponse clientResponse = webResource
                    .post(com.sun.jersey.api.client.ClientResponse.class, processinstanceid);


  • Red Hat JBoss BPM Suite (BPMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content