diff --git a/pom.xml b/pom.xml
index 91889e1ebb..38e452660d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -256,6 +256,12 @@
org.alfresco.services
alfresco-messaging-repo
${dependency.alfresco-messaging-repo.version}
+
+
+ org.apache.activemq
+ activemq-broker
+
+
org.alfresco
@@ -728,6 +734,22 @@
+
+ org.apache.camel
+ camel-activemq
+ ${dependency.camel.version}
+
+
+ org.apache.activemq
+ activemq-broker
+
+
+
+ org.apache.geronimo.specs
+ geronimo-jta_1.1_spec
+
+
+
org.apache.camel
camel-amqp
diff --git a/repository/pom.xml b/repository/pom.xml
index 5e6f6b30d5..960482cfac 100644
--- a/repository/pom.xml
+++ b/repository/pom.xml
@@ -667,6 +667,10 @@
org.apache.camel
camel-spring
+
+ org.apache.camel
+ camel-activemq
+
org.apache.camel
camel-amqp
@@ -693,23 +697,6 @@
activemq-client
${dependency.activemq.version}
-
- org.apache.activemq
- activemq-broker
- ${dependency.activemq.version}
-
-
- org.apache.camel
- camel-activemq
- ${dependency.camel.version}
-
-
-
- org.apache.geronimo.specs
- geronimo-jta_1.1_spec
-
-
-
org.apache.activemq
activemq-pool
diff --git a/repository/src/main/resources/alfresco/subsystems/Messaging/default/activemq/activemq.xml b/repository/src/main/resources/alfresco/subsystems/Messaging/default/activemq/activemq.xml
deleted file mode 100644
index b03ebe6610..0000000000
--- a/repository/src/main/resources/alfresco/subsystems/Messaging/default/activemq/activemq.xml
+++ /dev/null
@@ -1,202 +0,0 @@
-
-
-
-
-
-
-
-
- classpath:alfresco/repository.properties
- alfresco/subsystems/Messaging/default/activemq/credentials.properties
- alfresco/subsystems/Messaging/default/messaging.properties
-
-
- classpath*:alfresco/enterprise/repository.properties
-
-
- classpath*:alfresco/module/*/alfresco-global.properties
-
- classpath*:alfresco-global.properties
-
-
-
- SYSTEM_PROPERTIES_MODE_OVERRIDE
-
-
-
-
-
-
-
-
-
-
-
- true
-
-
- false
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/repository/src/main/resources/alfresco/subsystems/Messaging/default/activemq/credentials.properties b/repository/src/main/resources/alfresco/subsystems/Messaging/default/activemq/credentials.properties
deleted file mode 100644
index 7f56375075..0000000000
--- a/repository/src/main/resources/alfresco/subsystems/Messaging/default/activemq/credentials.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-## ---------------------------------------------------------------------------
-## Licensed to the Apache Software Foundation (ASF) under one or more
-## contributor license agreements. See the NOTICE file distributed with
-## this work for additional information regarding copyright ownership.
-## The ASF licenses this file to You under the Apache License, Version 2.0
-## (the "License"); you may not use this file except in compliance with
-## the License. You may obtain a copy of the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS,
-## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-## See the License for the specific language governing permissions and
-## limitations under the License.
-## ---------------------------------------------------------------------------
-
-# Defines credentials that will be used by components (like web console) to access the broker
-
-activemq.username=system
-activemq.password=manager
-guest.password=password
\ No newline at end of file
diff --git a/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging-context.xml b/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging-context.xml
index 4dd42cdb68..3c06c00252 100644
--- a/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging-context.xml
+++ b/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging-context.xml
@@ -11,7 +11,7 @@
-
@@ -29,18 +29,24 @@
-
+
-
-
-
+
-
+
+
+
+
+
+
+
+
+
@@ -82,7 +88,7 @@
-
+
diff --git a/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging.properties b/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging.properties
index b7d6a3e7cc..48fb9ef838 100644
--- a/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging.properties
+++ b/repository/src/main/resources/alfresco/subsystems/Messaging/default/messaging.properties
@@ -1,8 +1,3 @@
-
-# Embedded broker persisting to ${dir.root}/activemq
-#messaging.broker.url=vm://localhost?brokerConfig=xbean:alfresco/subsystems/Messaging/default/activemq/activemq.xml
-#activemq.data=${dir.root}/activemq
-
# External failover broker at tcp://localhost
messaging.broker.url=failover:(tcp://localhost:61616)?timeout=3000&jms.useCompression=true
messaging.broker.ssl=false