Skip to content

Injected client beans should close the client when the bean is destroyed #474

@jamezp

Description

@jamezp

When using a CDI to inject a REST Client bean, the backing client is never closed resulting in warning messages like:

WARN: RESTEASY004687: Closing a class org.jboss.resteasy.client.jaxrs.engines.ManualClosingApacheHttpClient43Engine$CleanupAction instance for you. Please close clients yourself.

This could be avoided by closing the backing client when the bean id destroyed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions