camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Regvart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11011) Make all Services Closeable
Date Tue, 14 Mar 2017 21:06:41 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15924998#comment-15924998
] 

Zoran Regvart commented on CAMEL-11011:
---------------------------------------

Now you get "Potential resource leak: 'name of the service' may not be closed at this location"
in your IDE, don't know if that's a problem for anyone.

> Make all Services Closeable
> ---------------------------
>
>                 Key: CAMEL-11011
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11011
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Minor
>             Fix For: 2.19.0
>
>
> If the {{org.apache.camel.Service}} implemented {{java.io.Closeable}} users would benefit
from being able to use any {{Service}} (such as {{ProducerTemplate}}) in {{try-with-resources}}
expressions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message