recreate ServiceMix 3.3 release tag

git-svn-id: https://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.3@707539 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/RELEASE-NOTES b/RELEASE-NOTES
index 1509e94..d143d3d 100644
--- a/RELEASE-NOTES
+++ b/RELEASE-NOTES
@@ -219,6 +219,7 @@
     * [SM-1627] - loan-broker sample doesn't work

     * [SM-1628] - ws-notification sample doesn't

     * [SM-1641] - remoteRepositories is incorrect in smx-arch scripts

+    * [SM-1658] - can't shundown container from jmx console

 

 Improvement

 

diff --git a/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java b/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
index 6f2b0b3..cb4e8b1 100644
--- a/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
+++ b/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/container/JBIContainer.java
@@ -743,8 +743,12 @@
                 return true;
             };
         });
-
-        executorFactory.createExecutor("ServiceMix -- shutting down registry").execute(shutdown);
+        
+        //use daemon thread to run this shutdown task
+        //fix the container hang when shutdown container from the jmx console
+        Thread daemonShutDownThread = new Thread(shutdown);
+        daemonShutDownThread.setDaemon(true);
+        daemonShutDownThread.start();
         
         try {
             if (forceShutdown > 0) {
diff --git a/samples/camel/src/main/assembly/kit_camel_example_pom.xml b/samples/camel/src/main/assembly/kit_camel_example_pom.xml
index 043ccc8..784acf0 100644
--- a/samples/camel/src/main/assembly/kit_camel_example_pom.xml
+++ b/samples/camel/src/main/assembly/kit_camel_example_pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.servicemix</groupId>
         <artifactId>samples</artifactId>
-        <version>3.3-SNAPSHOT</version>
+        <version>3.3</version>
     </parent>
 
     <groupId>org.apache.servicemix.samples</groupId>