SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Quickstart : Camel JMS Binding 1.1.1-p5-redhat-1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-java-version) @ switchyard-quickstart-camel-jms-binding --- [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven-version) @ switchyard-quickstart-camel-jms-binding --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ switchyard-quickstart-camel-jms-binding --- [INFO] [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ switchyard-quickstart-camel-jms-binding --- [INFO] Checking for local modifications: skipped. [INFO] Updating project files from SCM: skipped. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD" [INFO] Working directory: E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding [INFO] Storing buildNumber: UNKNOWN at timestamp: 1426704829529 [INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD" [INFO] Working directory: E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding [INFO] Storing buildScmBranch: UNKNOWN_BRANCH [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ switchyard-quickstart-camel-jms-binding --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ switchyard-quickstart-camel-jms-binding --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ switchyard-quickstart-camel-jms-binding --- [INFO] Building jar: E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding\target\switchyard-quickstart-camel-jms-binding-sources.jar [INFO] [INFO] --- switchyard-plugin:1.1.1-p5-redhat-1:configure (default) @ switchyard-quickstart-camel-jms-binding --- [INFO] SwitchYard configure plugin scanner URLs: [file:/E:/Project_Files/workspaceE6B/jbossFuseQuickstarts/switchyard/camel-jms-binding/target/classes/] [INFO] Outputting SwitchYard configuration model to E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding\target\classes\META-INF\switchyard.xml [INFO] Validating SwitchYard configuration model... [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ switchyard-quickstart-camel-jms-binding --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ switchyard-quickstart-camel-jms-binding --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 2 source files to E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding\target\test-classes [WARNING] bootstrap class path not set in conjunction with -source 1.6 [INFO] [INFO] --- maven-surefire-plugin:2.12.3:test (default-test) @ switchyard-quickstart-camel-jms-binding --- [INFO] Surefire report directory: E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.switchyard.quickstarts.camel.jms.binding.CamelJMSBindingTest 13:53:52,171 INFO [org.jboss.weld.Version] WELD-000900 1.1.13 (redhat) 13:53:52,594 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled 13:53:52,594 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled 13:53:52,750 WARN [org.hornetq.core.server] HQ222018: AIO was not located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal 13:53:52,807 INFO [org.hornetq.core.server] HQ221000: live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=target/data/journal,bindingsDirectory=target/data/bindings,largeMessagesDirectory=target/data/large-messages,pagingDirectory=target/data/paging) 13:53:52,815 WARN [org.hornetq.core.server] HQ222007: Security risk! HornetQ is running with the default cluster admin user and default password. Please see the HornetQ user guide, cluster chapter, for instructions on how to change this. 13:53:52,915 INFO [org.hornetq.core.server] HQ221003: trying to deploy queue jms.queue.GreetingServiceQueue 13:53:53,070 INFO [org.hornetq.core.server] HQ221020: Started Netty Acceptor version 3.6.6.Final-redhat-1-fd3c6b7 localhost:5545 for CORE protocol 13:53:53,071 INFO [org.hornetq.core.server] HQ221007: Server is now live 13:53:53,071 INFO [org.hornetq.core.server] HQ221001: HornetQ Server version 2.3.5.Final-redhat-2 (Monster Bee, 123) [aa00ef0a-c416-11e4-a574-71af8e2c178b] 13:53:53,243 INFO [org.apache.camel.management.ManagementStrategyFactory] JMX enabled. 13:53:53,261 INFO [org.switchyard.security] SWITCHYARD014201: Using SecurityProvider implementation: org.switchyard.security.provider.JaasSecurityProvider 13:53:53,266 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0.redhat-60024 (CamelContext: camel-1) is starting 13:53:53,430 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 187 type converters Mar 18, 2015 1:53:53 PM org.apache.deltaspike.core.util.ProjectStageProducer initProjectStage INFO: Computed the following DeltaSpike ProjectStage: Production 13:53:53,450 INFO [org.apache.camel.management.DefaultManagementLifecycleStrategy] StatisticsLevel at All so enabling load performance statistics 13:53:53,455 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Total 0 routes, of which 0 is started. 13:53:53,456 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0.redhat-60024 (CamelContext: camel-1) started in 0.189 seconds 13:53:53,784 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route: direct:{urn:switchyard-quickstart:camel-jms-binding:0.1.0}GreetingService/Outbound started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:camel-jms-binding:0.1.0%7DGreetingService/Outbound] 13:53:53,926 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Route: direct:{urn:switchyard-quickstart:camel-jms-binding:0.1.0}GreetingService started and consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:camel-jms-binding:0.1.0%7DGreetingService] 13:53:53,993 ERROR [org.switchyard.test.SwitchYardRunner] Error while test kit startup org.switchyard.SwitchYardException: org.apache.camel.FailedToCreateRouteException: Failed to create route V1CamelJmsBindingModel/GreetingService@_GreetingService_jms_1#-1672298836: Route[[From[jms:topic:SMM_UI?connectionFactory=Block1_TS1]] ... because of Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.switchyard.component.camel.common.handler.InboundHandler.(InboundHandler.java:69) at org.switchyard.component.camel.common.deploy.BaseBindingActivator.createInboundHandler(BaseBindingActivator.java:51) at org.switchyard.component.camel.common.deploy.BaseBindingActivator.activateBinding(BaseBindingActivator.java:43) at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:618) at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145) at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757) at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177) at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:60) at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route V1CamelJmsBindingModel/GreetingService@_GreetingService_jms_1#-1672298836: Route[[From[jms:topic:SMM_UI?connectionFactory=Block1_TS1]] ... because of Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177) at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:731) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1803) at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:675) at org.apache.camel.impl.DefaultCamelContext.addRouteDefinition(DefaultCamelContext.java:680) at org.switchyard.component.camel.common.handler.InboundHandler.(InboundHandler.java:67) ... 31 more Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:488) at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:61) at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:187) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114) at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72) at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:857) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:172) ... 36 more Caused by: org.apache.camel.NoSuchBeanException: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.apache.camel.impl.CompositeRegistry.lookup(CompositeRegistry.java:57) at org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookup(PropertyPlaceholderDelegateRegistry.java:62) at org.apache.camel.util.CamelContextHelper.lookup(CamelContextHelper.java:119) at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:139) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:320) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:302) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:304) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:283) at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:491) at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:469) ... 44 more Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:633) at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:391) at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:200) at org.apache.camel.component.cdi.CdiBeanRegistry.lookup(CdiBeanRegistry.java:51) at org.apache.camel.impl.CompositeRegistry.lookup(CompositeRegistry.java:51) ... 54 more 13:53:53,996 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0.redhat-60024 (CamelContext: camel-1) is shutting down 13:53:53,996 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 13:53:53,998 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:{urn:switchyard-quickstart:camel-jms-binding:0.1.0}GreetingService shutdown complete, was consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:camel-jms-binding:0.1.0%7DGreetingService] 13:53:53,999 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:{urn:switchyard-quickstart:camel-jms-binding:0.1.0}GreetingService/Outbound shutdown complete, was consuming from: Endpoint[direct://%7Burn:switchyard-quickstart:camel-jms-binding:0.1.0%7DGreetingService/Outbound] 13:53:53,999 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 13:53:54,009 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] TypeConverterRegistry utilization[attempts=1, hits=1, misses=0, failures=0] mappings[total=187, misses=0] 13:53:54,010 INFO [org.switchyard.common.camel.SwitchYardCamelContext] Apache Camel 2.10.0.redhat-60024 (CamelContext: camel-1) is shutdown in 0.014 seconds. Uptime 0.744 seconds. 13:53:54,015 WARN [org.hornetq.core.server] HQ222113: On ManagementService stop, there are 2 unexpected registered MBeans: [core.acceptor.netty-acceptor, core.acceptor.invm-acceptor] 13:53:54,043 INFO [org.hornetq.core.server] HQ221002: HornetQ Server version 2.3.5.Final-redhat-2 (Monster Bee, 123) [aa00ef0a-c416-11e4-a574-71af8e2c178b] stopped java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1344) at org.switchyard.component.test.mixins.cdi.CDIMixIn.uninitialize(CDIMixIn.java:245) at org.switchyard.test.SwitchYardTestKit.cleanupMixIns(SwitchYardTestKit.java:810) at org.switchyard.test.SwitchYardTestKit.cleanup(SwitchYardTestKit.java:186) at org.switchyard.test.SwitchYardRunner$TestLifecycleListener.testFinished(SwitchYardRunner.java:95) at org.junit.runner.notification.RunNotifier$7.notifyListener(RunNotifier.java:191) at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:61) at org.junit.runner.notification.RunNotifier.fireTestFinished(RunNotifier.java:188) at org.junit.internal.runners.model.EachTestNotifier.fireTestFinished(EachTestNotifier.java:39) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:277) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.331 sec <<< FAILURE! sendTextMessageToJMSQueue(org.switchyard.quickstarts.camel.jms.binding.CamelJMSBindingTest) Time elapsed: 5 sec <<< ERROR! java.lang.Exception: org.switchyard.SwitchYardException: org.apache.camel.FailedToCreateRouteException: Failed to create route V1CamelJmsBindingModel/GreetingService@_GreetingService_jms_1#-1672298836: Route[[From[jms:topic:SMM_UI?connectionFactory=Block1_TS1]] ... because of Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:64) at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:244) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:241) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:85) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: org.switchyard.SwitchYardException: org.apache.camel.FailedToCreateRouteException: Failed to create route V1CamelJmsBindingModel/GreetingService@_GreetingService_jms_1#-1672298836: Route[[From[jms:topic:SMM_UI?connectionFactory=Block1_TS1]] ... because of Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.switchyard.component.camel.common.handler.InboundHandler.(InboundHandler.java:69) at org.switchyard.component.camel.common.deploy.BaseBindingActivator.createInboundHandler(BaseBindingActivator.java:51) at org.switchyard.component.camel.common.deploy.BaseBindingActivator.activateBinding(BaseBindingActivator.java:43) at org.switchyard.deploy.internal.Deployment.deployServiceBindings(Deployment.java:618) at org.switchyard.deploy.internal.Deployment.start(Deployment.java:145) at org.switchyard.test.SwitchYardTestKit.deploy(SwitchYardTestKit.java:757) at org.switchyard.test.SwitchYardTestKit.start(SwitchYardTestKit.java:177) at org.switchyard.test.SwitchYardRunner.createTest(SwitchYardRunner.java:60) ... 24 more Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route V1CamelJmsBindingModel/GreetingService@_GreetingService_jms_1#-1672298836: Route[[From[jms:topic:SMM_UI?connectionFactory=Block1_TS1]] ... because of Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177) at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:731) at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1803) at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:675) at org.apache.camel.impl.DefaultCamelContext.addRouteDefinition(DefaultCamelContext.java:680) at org.switchyard.component.camel.common.handler.InboundHandler.(InboundHandler.java:67) ... 31 more Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:488) at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:61) at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:187) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108) at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114) at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72) at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:90) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:857) at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:172) ... 36 more Caused by: org.apache.camel.NoSuchBeanException: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.apache.camel.impl.CompositeRegistry.lookup(CompositeRegistry.java:57) at org.apache.camel.impl.PropertyPlaceholderDelegateRegistry.lookup(PropertyPlaceholderDelegateRegistry.java:62) at org.apache.camel.util.CamelContextHelper.lookup(CamelContextHelper.java:119) at org.apache.camel.util.CamelContextHelper.mandatoryLookup(CamelContextHelper.java:139) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:320) at org.apache.camel.util.EndpointHelper.resolveReferenceParameter(EndpointHelper.java:302) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:304) at org.apache.camel.impl.DefaultComponent.resolveAndRemoveReferenceParameter(DefaultComponent.java:283) at org.apache.camel.component.jms.JmsComponent.createEndpoint(JmsComponent.java:491) at org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91) at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:469) ... 44 more Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:633) at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:391) at org.apache.deltaspike.core.api.provider.BeanProvider.getContextualReference(BeanProvider.java:200) at org.apache.camel.component.cdi.CdiBeanRegistry.lookup(CdiBeanRegistry.java:51) at org.apache.camel.impl.CompositeRegistry.lookup(CompositeRegistry.java:51) ... 54 more Results : Tests in error: sendTextMessageToJMSQueue(org.switchyard.quickstarts.camel.jms.binding.CamelJMSBindingTest): org.switchyard.SwitchYardException: org.apache.camel.FailedToCreateRouteException: Failed to create route V1CamelJmsBindingModel/GreetingService@_GreetingService_jms_1#-1672298836: Route[[From[jms:topic:SMM_UI?connectionFactory=Block1_TS1]] ... because of Failed to resolve endpoint: jms://topic:SMM_UI?connectionFactory=Block1_TS1 due to: Cannot lookup: Block1_TS1 from registry: CdiRegistry[32234430] with expected type: interface javax.jms.ConnectionFactory due: WELD-001305 The given type interface javax.jms.ConnectionFactory is not a type of the bean Producer Method [JmsComponent] with qualifiers [@Any @Default @Named] declared as [[method] @Produces @Named public org.switchyard.quickstarts.camel.jms.binding.MAPSConsumer.create()] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.348s [INFO] Finished at: Wed Mar 18 13:53:54 CDT 2015 [INFO] Final Memory: 46M/111M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test) on project switchyard-quickstart-camel-jms-binding: There are test failures. [ERROR] [ERROR] Please refer to E:\Project_Files\workspaceE6B\jbossFuseQuickstarts\switchyard\camel-jms-binding\target\surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException