You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/02/27 07:11:57 UTC

[GitHub] [camel-examples] metters commented on a change in pull request #38: CAMEL-16012: Remove prefix 05

metters commented on a change in pull request #38:
URL: https://github.com/apache/camel-examples/pull/38#discussion_r584074574



##########
File path: examples/main/src/main/java/org/apache/camel/example/StandaloneCamel.java
##########
@@ -34,29 +34,30 @@ private StandaloneCamel() {
 
     public static void main(String[] args) throws Exception {
         // create a new CamelContext
-        CamelContext camelContext = new DefaultCamelContext();
+        try (CamelContext camelContext = new DefaultCamelContext()) {

Review comment:
       Ok I will revert this.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org