camel-issues mailing list archives

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

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

ASF GitHub Bot commented on CAMEL-11011:
----------------------------------------

GitHub user zregvart opened a pull request:

    https://github.com/apache/camel/pull/1537

    CAMEL-11011 Make all Services Closeable

    I'm doing this as a PR so that it can be reviewed, anyone with a comment about this? Thanks
:+1: 
    
    This prodvides Service with default implementation of `close` method that delegates to
`stop`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zregvart/camel CAMEL-11011

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1537.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1537
    
----
commit cb2cafe2ad8084ced44fcf554a436c22f3aed190
Author: Zoran Regvart <zregvart@apache.org>
Date:   2017-03-14T11:30:07Z

    CAMEL-11011 Make all Services Closeable
    
    This prodvides Service with default implementation of `close` method
    that delegates to `stop`.

----


> 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
>
> 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