[ main] RouteXmlTest INFO Load the configuration file... [ main] RouteXmlTest INFO | getBlueprintDescriptor Test | Start | load blueprint files. [ main] CamelBlueprintHelper INFO Using Blueprint XML file: /Users/mrody/Downloads/testconfigpath/target/classes/OSGI-INF/blueprint/blueprint.xml [ Thread-0] RawBuilder INFO Copy thread finished. [ Thread-1] RawBuilder INFO Copy thread finished. [ main] Activator INFO Camel activator starting [ main] Activator INFO Camel activator started [ main] CXFActivator INFO Adding the extensions from bundle org.apache.camel.camel-cxf-transport (7) [org.apache.camel.component.cxf.transport.CamelTransportFactory] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (17) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-frontend-jaxws (18) [org.apache.cxf.jaxws.context.WebServiceContextResourceResolver] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-xml (20) [org.apache.cxf.binding.xml.XMLBindingFactory, org.apache.cxf.binding.xml.wsdl11.XMLWSDLExtensionLoader] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-addr (22) [org.apache.cxf.ws.addressing.policy.AddressingAssertionBuilder, org.apache.cxf.ws.addressing.policy.UsingAddressingAssertionBuilder, org.apache.cxf.ws.addressing.policy.AddressingPolicyInterceptorProvider, org.apache.cxf.ws.addressing.impl.AddressingWSDLExtensionLoader, org.apache.cxf.ws.addressing.WSAddressingFeature$WSAddressingFeatureApplier, org.apache.cxf.ws.addressing.MAPAggregator$MAPAggregatorLoader] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-ws-policy (23) [org.apache.cxf.ws.policy.PolicyEngine, org.apache.cxf.policy.PolicyDataEngine, org.apache.cxf.ws.policy.AssertionBuilderRegistry, org.apache.cxf.ws.policy.PolicyInterceptorProviderRegistry, org.apache.cxf.ws.policy.PolicyBuilder, org.apache.cxf.ws.policy.PolicyAnnotationListener, org.apache.cxf.ws.policy.attachment.ServiceModelPolicyProvider, org.apache.cxf.ws.policy.attachment.external.DomainExpressionBuilderRegistry, org.apache.cxf.ws.policy.attachment.external.EndpointReferenceDomainExpressionBuilder, org.apache.cxf.ws.policy.attachment.external.URIDomainExpressionBuilder, org.apache.cxf.ws.policy.attachment.wsdl11.Wsdl11AttachmentPolicyProvider, org.apache.cxf.ws.policy.mtom.MTOMAssertionBuilder, org.apache.cxf.ws.policy.mtom.MTOMPolicyInterceptorProvider] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-bindings-soap (26) [org.apache.cxf.binding.soap.SoapBindingFactory, org.apache.cxf.binding.soap.SoapTransportFactory] [ main] CXFActivator INFO Adding the extensions from bundle org.apache.cxf.cxf-rt-wsdl (27) [org.apache.cxf.wsdl.WSDLManager] [ main] CamelBlueprintHelper INFO Updating ConfigAdmin Configuration PID=com.llnw.esb, factoryPID=null, bundleLocation=null by overriding properties {cmd.organizationGet.reseller=identities.cornerstone={id}&select=identities,id,hierarchyType, cmd.health=status, cmd.billable.services=billableservices, cxf.logging.enabled=true, cmd.organizationUpdate=organizations/{id}, cmd.popgroupSearch=popgroups/search, config.path=classpath:com.llnw.esb.cfg, cmd.accountPost=organizations/{id}/accounts, cmd.accountSearch=accounts/search, cmd.cxfclient=http://mws-int-dev.lldns.net/cmd-api/v3, cmd.organizationPost=organizations, cmd.accountMove=accounts/migrate/{id}, cmd.popgroupQuery=size=all&select=sniToVipMap.vips,sniToVipMap.optionList,sniToVipMap.sniType, cmd.organizationGet=organizations/search, cmd.org.ident.update=/organizations/{id}/identities/{systemId}} [ Blueprint Extender: 2] BlueprintContainerImpl INFO Blueprint bundle propertytestjava/1.0.0.SNAPSHOT is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0, http://camel.apache.org/schema/blueprint/cxf, http://camel.apache.org/schema/blueprint] [ Blueprint Extender: 1] BlueprintContainerImpl INFO Blueprint bundle RouteXmlTest/1.0.0 is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0, http://camel.apache.org/schema/blueprint/cxf, http://camel.apache.org/schema/blueprint] [ main] RouteXmlTest INFO | getBlueprintDescriptor Test | Start | load blueprint files. [ Blueprint Extender: 2] BlueprintContainerImpl INFO Blueprint bundle org.apache.camel.camel-cxf-transport/2.21.0.fuse-740039-redhat-00001 has been started [ Blueprint Extender: 3] BlueprintContainerImpl INFO Blueprint bundle org.apache.camel.camel-cxf/2.21.0.fuse-740039-redhat-00001 has been started [ Blueprint Extender: 1] BlueprintContainerImpl INFO Blueprint bundle org.apache.camel.camel-blueprint/2.21.0.fuse-740039-redhat-00001 has been started [ Blueprint Extender: 1] BlueprintContainerImpl INFO Blueprint bundle propertytestjava/1.0.0.SNAPSHOT is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0] [ Blueprint Extender: 1] BlueprintContainerImpl INFO Blueprint bundle RouteXmlTest/1.0.0 is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0] [ Blueprint Extender: 3] BlueprintContainerImpl INFO Blueprint bundle org.apache.aries.blueprint.cm/1.3.1 has been started [ Blueprint Extender: 2] BlueprintContainerImpl INFO Blueprint bundle org.apache.aries.blueprint.core/1.10.1 has been started [ Blueprint Extender: 1] BlueprintCamelStateService INFO Karaf BundleStateService not accessible. Bundle state won't reflect Camel context state [ Blueprint Extender: 3] BlueprintCamelStateService INFO Karaf BundleStateService not accessible. Bundle state won't reflect Camel context state [ Blueprint Extender: 1] BeanRecipe WARN Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null [ Blueprint Extender: 1] BeanRecipe WARN Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null [ Blueprint Extender: 1] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) is shutting down [ Blueprint Extender: 1] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) uptime [ Blueprint Extender: 1] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) is shutdown in 0.024 seconds [ Blueprint Extender: 1] BlueprintContainerImpl ERROR Unable to start container for blueprint bundle propertytestjava/1.0.0.SNAPSHOT org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean .camelBlueprint.factory.tester at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:593) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:703) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:666) at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:360) at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:338) at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:152) at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:789) at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelDependenciesFinder.process(CamelNamespaceHandler.java:1014) at org.apache.aries.blueprint.container.BlueprintContainerImpl.processProcessors(BlueprintContainerImpl.java:553) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:397) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:278) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106) at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:45) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.camel.NoSuchBeanException: Cannot lookup: routes from registry: org.apache.camel.blueprint.BlueprintContainerRegistry@13d9c237 with expected type: interface org.apache.camel.RoutesBuilder due: Cound not create component instance for routes at org.apache.camel.impl.CompositeRegistry.lookupByNameAndType(CompositeRegistry.java:63) at org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookupByNameAndType(PropertyPlaceholderDelegateRegistry.java:63) at org.apache.camel.util.CamelContextHelper.lookup(CamelContextHelper.java:146) at org.apache.camel.model.RouteBuilderDefinition.createRoutes(RouteBuilderDefinition.java:75) at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.installRoutes(AbstractCamelContextFactoryBean.java:1066) at org.apache.camel.core.xml.AbstractCamelContextFactoryBean.setupRoutes(AbstractCamelContextFactoryBean.java:475) at org.apache.camel.blueprint.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:355) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:337) at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:835) at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:591) ... 24 more Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Cound not create component instance for routes at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:795) at org.apache.camel.blueprint.BlueprintContainerRegistry.lookupByNameAndType(BlueprintContainerRegistry.java:54) at org.apache.camel.impl.CompositeRegistry.lookupByNameAndType(CompositeRegistry.java:56) ... 37 more Caused by: org.apache.camel.RuntimeCamelException: java.lang.IllegalArgumentException: Property with key [cmd.organizationPost] not found in properties from text: {{cmd.organizationPost}} at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1830) at org.apache.camel.impl.CamelPostProcessorHelper.getInjectionPropertyValue(CamelPostProcessorHelper.java:290) at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelInjector.injectFieldProperty(CamelNamespaceHandler.java:870) at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelInjector.injectFields(CamelNamespaceHandler.java:843) at org.apache.camel.blueprint.handler.CamelNamespaceHandler$CamelInjector.afterInit(CamelNamespaceHandler.java:970) at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcPostInit(BeanRecipe.java:623) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:705) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:666) at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:81) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:90) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:360) at org.apache.aries.blueprint.container.BlueprintRepository.createInstance(BlueprintRepository.java:338) at org.apache.aries.blueprint.container.BlueprintRepository.create(BlueprintRepository.java:152) at org.apache.aries.blueprint.container.BlueprintContainerImpl.getComponentInstance(BlueprintContainerImpl.java:789) ... 39 more Caused by: java.lang.IllegalArgumentException: Property with key [cmd.organizationPost] not found in properties from text: {{cmd.organizationPost}} at org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.getPropertyValue(DefaultPropertiesParser.java:270) at org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.readProperty(DefaultPropertiesParser.java:156) at org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.doParse(DefaultPropertiesParser.java:115) at org.apache.camel.component.properties.DefaultPropertiesParser$ParsingContext.parse(DefaultPropertiesParser.java:99) at org.apache.camel.component.properties.DefaultPropertiesParser.parseUri(DefaultPropertiesParser.java:62) at org.apache.camel.component.properties.PropertiesComponent.parseUri(PropertiesComponent.java:235) at org.apache.camel.component.properties.PropertiesComponent.parseUri(PropertiesComponent.java:178) at org.apache.camel.impl.DefaultCamelContext.resolvePropertyPlaceholders(DefaultCamelContext.java:2550) at org.apache.camel.impl.CamelPostProcessorHelper.getInjectionPropertyValue(CamelPostProcessorHelper.java:276) ... 52 more [ Blueprint Extender: 3] CamelRoute INFO cmd.organizatin: organizations [ Blueprint Extender: 3] BlueprintContainerImpl INFO Blueprint bundle RouteXmlTest/1.0.0 has been started [ main] RouteXmlTest INFO ******************************************************************************** [ Blueprint Event Dispatcher: 1] BlueprintCamelContext INFO Attempting to start CamelContext: tester [ main] RouteXmlTest INFO Testing: testBillsbleSkusPost3Skus(com.mycompany.camel.RouteXmlTest) [ main] RouteXmlTest INFO ******************************************************************************** [ main] RouteXmlTest INFO Skipping starting CamelContext as system property skipStartingCamelContext is set to be true. [ main] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) is starting [ main] ManagedManagementStrategy INFO JMX is enabled [ main] ceptSendToMockEndpointStrategy INFO Adviced endpoint [direct://Route] with mock endpoint [mock:direct:Route] [ main] BlueprintCamelContext INFO StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html [ main] BlueprintCamelContext INFO Route: test.routes started and consuming from: direct://Route [ main] BlueprintCamelContext INFO Total 1 routes, of which 1 are started [ main] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) started in 0.269 seconds [ main] RouteXmlTest INFO | testBillsbleSkusPost3Skus | Start | [ main] routes INFO Set message to classpath:com.llnw.esb.cfg [ main] RouteXmlTest INFO | testBillsbleSkusPost | End | [ main] RouteXmlTest INFO ******************************************************************************** [ main] RouteXmlTest INFO Testing done: testBillsbleSkusPost3Skus(com.mycompany.camel.RouteXmlTest) [ main] RouteXmlTest INFO Took: 0.288 seconds (288 millis) [ main] RouteXmlTest INFO ******************************************************************************** [ main] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) is shutting down [ main] DefaultShutdownStrategy INFO Starting to graceful shutdown 1 routes (timeout 10 seconds) [ster) thread #1 - ShutdownTask] DefaultShutdownStrategy INFO Route: test.routes shutdown complete, was consuming from: direct://Route [ main] DefaultShutdownStrategy INFO Graceful shutdown of 1 routes completed in 0 seconds [ main] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) uptime 0.298 seconds [ main] BlueprintCamelContext INFO Apache Camel 2.21.0.fuse-740039-redhat-00001 (CamelContext: tester) is shutdown in 0.009 seconds [ main] BlueprintExtender INFO Destroying container for blueprint bundle org.apache.aries.blueprint.cm/1.3.1 [ Blueprint Extender: 2] BlueprintContainerImpl INFO Blueprint bundle propertytestjava/1.0.0.SNAPSHOT is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0] [ Blueprint Extender: 3] BlueprintContainerImpl INFO Blueprint bundle RouteXmlTest/1.0.0 is waiting for namespace handlers [http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0] [ main] BlueprintExtender INFO Destroying container for blueprint bundle RouteXmlTest/1.0.0 [ main] BlueprintExtender INFO Destroying container for blueprint bundle propertytestjava/1.0.0.SNAPSHOT [ main] BlueprintExtender INFO Destroying container for blueprint bundle org.apache.aries.blueprint.core/1.10.1 [ main] BlueprintExtender INFO Destroying container for blueprint bundle org.apache.camel.camel-blueprint/2.21.0.fuse-740039-redhat-00001 [ main] BlueprintExtender INFO Destroying container for blueprint bundle org.apache.camel.camel-cxf-transport/2.21.0.fuse-740039-redhat-00001 [ main] BlueprintExtender INFO Destroying container for blueprint bundle org.apache.camel.camel-cxf/2.21.0.fuse-740039-redhat-00001 [ main] CXFActivator INFO Removing the extensions for bundle 7 [ main] CXFActivator INFO Removing the extensions for bundle 17 [ main] CXFActivator INFO Removing the extensions for bundle 18 [ main] CXFActivator INFO Removing the extensions for bundle 20 [ main] CXFActivator INFO Removing the extensions for bundle 22 [ main] CXFActivator INFO Removing the extensions for bundle 23 [ main] CXFActivator INFO Removing the extensions for bundle 26 [ main] CXFActivator INFO Removing the extensions for bundle 27 [ main] Activator INFO Camel activator stopping [ main] Activator INFO Camel activator stopped [ main] CamelBlueprintHelper INFO Deleting work directory target/bundles/1571086156466