From 0b05917f2916f9375331cad243fd8e51baca4569 Mon Sep 17 00:00:00 2001 From: Jiri Pechanec Date: Fri, 14 Mar 2014 06:45:50 +0100 Subject: [PATCH] SWITCHYARD-1981 Provide sensible names for internal camel routes --- .../as7/extension/deployment/SwitchYardDeployment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jboss-as7/extension/src/main/java/org/switchyard/as7/extension/deployment/SwitchYardDeployment.java b/jboss-as7/extension/src/main/java/org/switchyard/as7/extension/deployment/SwitchYardDeployment.java index a50a86ae..fbfceb74 100644 --- a/jboss-as7/extension/src/main/java/org/switchyard/as7/extension/deployment/SwitchYardDeployment.java +++ b/jboss-as7/extension/src/main/java/org/switchyard/as7/extension/deployment/SwitchYardDeployment.java @@ -105,6 +105,8 @@ public void start(final List components) { Thread.currentThread().setContextClassLoader(module.getClassLoader()); setDeploymentState(SwitchYardDeploymentState.INITIALIZING); + _deployment.initName(); + _appServiceDomain = _domainManager.createDomain(_deployment.getName(), _deployment.getConfig()); // Override the default Camel ThreadPoolFactory to allow for naming