Can web service clients close HTTP connections explicitly at each request?

Solution Unverified - Updated -

Issue

  • I have a web service client which invokes a web service deployed on JBoss server.
  • By default, HTTP/1.1 requests are keep-alive, which means that HTTP connections are reused by a web service client.
  • Is there any way we can close HTTP connections at each web service request?

Environment

  • JBoss Enterprise Application Platform
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.