[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building com.example.switchyard:bean-service 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ bean-service — [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources [INFO] [INFO] — maven-compiler-plugin:3.1:compile (default-compile) @ bean-service — [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] — switchyard-plugin:2.1.0.redhat-630187:configure (default) @ bean-service — [INFO] SwitchYard configure plugin scanner URLs: file:/D:/Users/nitin-kuma/workspace-10/bean-service/target/classes/ [INFO] Outputting SwitchYard configuration model to D:\Users\nitin-kuma\workspace-10\bean-service\target\classes\META-INF\switchyard.xml [INFO] Validating SwitchYard configuration model... [INFO] [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ bean-service — [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 6 resources [INFO] [INFO] — maven-compiler-plugin:3.1:testCompile (default-testCompile) @ bean-service — [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] — maven-surefire-plugin:2.12.4:test (default-test) @ bean-service — [INFO] Surefire report directory: D:\Users\nitin-kuma\workspace-10\bean-service\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.example.switchyard.bean_service.InventoryServiceTest log4j:WARN Continuable parsing error 2 and column 69 log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null". log4j:WARN Continuable parsing error 2 and column 69 log4j:WARN Document is invalid: no grammar found. 17:25:49,557 INFO [org.jboss.weld.Version] WELD-000900 1.1.31 (Final) 17:25:54,622 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled 17:25:54,622 WARN [org.jboss.weld.interceptor.util.InterceptionTypeRegistry] Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled 17:26:00,890 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:00,890 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:02,417 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:02,487 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:02,500 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:02,500 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:02,500 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:02,500 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 1.610 seconds 17:26:03,046 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:03,046 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:03,062 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-1 due to clash with an existing name already registered in MBeanServer. 17:26:03,296 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:03,312 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:03,312 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:03,312 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:03,312 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:03,312 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.266 seconds 17:26:04,774 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:05,040 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:05,056 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:InventoryService 17:26:05,056 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds) 17:26:05,087 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:05,087 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds 17:26:05,103 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is stopped, was consuming from: Endpoint[direct://InventoryService] 17:26:05,165 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is shutdown and removed, was consuming from: Endpoint[direct://InventoryService] 17:26:05,305 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:05,415 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down 17:26:05,415 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 17:26:05,430 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:05,430 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:05,555 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 17:26:05,586 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 4.696 seconds 17:26:05,586 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.171 seconds 17:26:06,235 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:06,235 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:06,469 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:06,484 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:06,484 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:06,484 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:06,484 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:06,484 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.249 seconds 17:26:06,594 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:06,594 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:06,594 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-2 due to clash with an existing name already registered in MBeanServer. 17:26:06,796 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:06,812 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:06,812 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:06,812 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:06,812 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:06,812 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.218 seconds 17:26:07,094 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:07,172 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:07,187 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:InventoryService 17:26:07,187 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds) 17:26:07,187 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:07,187 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds 17:26:07,187 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is stopped, was consuming from: Endpoint[direct://InventoryService] 17:26:07,187 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService is shutdown and removed, was consuming from: Endpoint[direct://InventoryService] 17:26:07,265 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:07,281 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down 17:26:07,281 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 17:26:07,281 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:07,281 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:07,281 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 17:26:07,281 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.046 seconds 17:26:07,281 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.000 seconds Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.673 sec Running com.example.switchyard.bean_service.OrderServiceTest 17:26:07,484 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:07,484 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:07,906 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:07,906 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:07,906 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:07,906 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:07,906 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:07,906 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.422 seconds 17:26:07,953 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:07,953 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:07,953 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-3 due to clash with an existing name already registered in MBeanServer. 17:26:08,109 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:08,124 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:08,124 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:08,124 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:08,124 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:08,124 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.171 seconds 17:26:08,249 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:08,327 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:08,327 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:OrderService 17:26:08,327 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds) 17:26:08,499 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:08,499 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds 17:26:08,499 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService] 17:26:08,499 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is shutdown and removed, was consuming from: Endpoint[direct://OrderService] 17:26:08,733 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:08,874 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down 17:26:08,874 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 17:26:08,890 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:08,890 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:09,032 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 17:26:09,040 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.556 seconds 17:26:09,041 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.166 seconds Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.383 sec Running com.example.switchyard.bean_service.TypeTransformationTest 17:26:09,362 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:09,362 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:09,532 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:09,540 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:09,541 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:09,541 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:09,541 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:09,541 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.180 seconds 17:26:09,615 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:09,616 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:09,617 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-4 due to clash with an existing name already registered in MBeanServer. 17:26:09,775 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:09,794 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:09,796 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:09,797 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:09,797 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:09,798 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.183 seconds 17:26:09,980 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:10,085 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:10,095 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:OrderService 17:26:10,096 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds) 17:26:10,431 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:10,439 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds 17:26:10,441 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService] 17:26:10,444 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is shutdown and removed, was consuming from: Endpoint[direct://OrderService] 17:26:10,544 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:10,562 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down 17:26:10,562 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 17:26:10,574 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:10,574 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:10,576 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 17:26:10,637 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.275 seconds 17:26:10,637 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.074 seconds 17:26:10,887 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:10,887 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:11,051 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:11,064 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:11,065 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:11,065 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:11,065 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:11,065 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.179 seconds 17:26:11,112 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:11,112 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:11,114 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] This CamelContext(org.switchyard.domains.root) will be registered using the name: org.switchyard.domains.root-5 due to clash with an existing name already registered in MBeanServer. 17:26:11,280 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:11,285 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:11,285 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:11,285 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:11,286 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:11,286 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.175 seconds 17:26:11,421 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:11,486 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:InventoryService started and consuming from: Endpoint[direct://InventoryService] 17:26:11,488 INFO [org.switchyard.bus.camel] SWITCHYARD011002: Removing route direct:OrderService 17:26:11,488 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 1 routes (timeout 30 seconds) 17:26:11,625 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:11,672 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 1 routes completed in 0 seconds 17:26:11,672 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is stopped, was consuming from: Endpoint[direct://OrderService] 17:26:11,687 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService is shutdown and removed, was consuming from: Endpoint[direct://OrderService] 17:26:11,999 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct:OrderService started and consuming from: Endpoint[direct://OrderService] 17:26:12,646 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down 17:26:12,646 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 17:26:12,646 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:OrderService shutdown complete, was consuming from: Endpoint[direct://OrderService] 17:26:12,646 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct:InventoryService shutdown complete, was consuming from: Endpoint[direct://InventoryService] 17:26:12,646 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 17:26:12,661 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 1.775 seconds 17:26:12,661 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.015 seconds Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.593 sec Running com.example.switchyard.bean_service.WebServiceTest 17:26:15,774 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is starting 17:26:15,774 INFO [org.apache.camel.management.ManagedManagementStrategy] JMX is enabled 17:26:15,937 INFO [org.apache.camel.impl.converter.DefaultTypeConverter] Loaded 198 type converters 17:26:15,943 INFO [org.apache.camel.impl.DefaultRuntimeEndpointRegistry] Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 17:26:15,948 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 17:26:15,950 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] 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 17:26:15,951 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Total 0 routes, of which 0 are started. 17:26:15,951 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) started in 0.176 seconds 17:26:16,086 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct: {urn:com.example.switchyard:bean-service:1.0} OrderServiceBean/InventoryService started and consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServiceBean/InventoryService] 17:26:16,205 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Route: direct: {urn:com.example.switchyard:bean-service:1.0} OrderServicePortType started and consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServicePortType] 17:26:16,551 WARN [org.switchyard.component.soap] SWITCHYARD035021: No endpoint publisher service registered. Using default publisher. 17:26:18,590 INFO [org.switchyard.component.soap] SWITCHYARD035002: MTOM [enabled = false, threshold = 0] 17:26:19,230 INFO [org.switchyard.component.soap] SWITCHYARD035003: Publishing WebService at http://127.0.0.1:8085/order-service-binding/OrderService 17:26:22,570 INFO [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service {urn:com.example.switchyard:bean-service:1.0} OrderService from WSDL: file:/D:/Users/nitin-kuma/workspace-10/bean-service/target/classes/OrderService.wsdl 17:26:24,510 WARN [org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean] Could not find endpoint named {http://endpoint.soap.component.switchyard.org/} BaseWebServicePort. Possible values are [ {urn:com.example.switchyard:bean-service:1.0} OrderServicePort]. 17:26:27,272 WARN [org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory] Could not find endpoint/port for {http://endpoint.soap.component.switchyard.org/} BaseWebServicePort in wsdl. Using {urn:com.example.switchyard:bean-service:1.0} OrderServicePort. 17:26:30,247 INFO [org.apache.cxf.endpoint.ServerImpl] Setting the server's publish address to be http://127.0.0.1:8085/order-service-binding/OrderService 17:26:32,953 INFO [org.eclipse.jetty.server.Server] jetty-8.1.14.v20131031 17:26:43,317 INFO [org.eclipse.jetty.server.AbstractConnector] Started SelectChannelConnector@127.0.0.1:8085 [Fatal Error] :1:1107: The element type "HR" must be terminated by the matching end-tag "</HR>". 17:26:55,411 INFO [org.switchyard.component.soap] SWITCHYARD035004: Stopping WebService at http://127.0.0.1:8085/order-service-binding/OrderService 17:26:55,518 INFO [org.eclipse.jetty.server.handler.ContextHandler] stopped o.e.j.s.h.ContextHandler {/order-service-binding,null} 17:26:55,519 INFO [org.switchyard.component.soap] SWITCHYARD035010: WebService {urn:com.example.switchyard:bean-service:1.0} OrderService:OrderServicePort stopped. 17:26:55,522 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutting down 17:26:55,522 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Starting to graceful shutdown 2 routes (timeout 30 seconds) 17:26:55,524 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct: {urn:com.example.switchyard:bean-service:1.0} OrderServicePortType shutdown complete, was consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServicePortType] 17:26:55,525 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Route: direct: {urn:com.example.switchyard:bean-service:1.0} OrderServiceBean/InventoryService shutdown complete, was consuming from: Endpoint[direct://%7Burn:com.example.switchyard:bean-service:1.0%7DOrderServiceBean/InventoryService] 17:26:55,525 INFO [org.apache.camel.impl.DefaultShutdownStrategy] Graceful shutdown of 2 routes completed in 0 seconds 17:26:55,543 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) uptime 39.769 seconds 17:26:55,552 INFO [org.switchyard.common.camel.SwitchYardCamelContextImpl] Apache Camel 2.17.0.redhat-630187 (CamelContext: org.switchyard.domains.root) is shutdown in 0.021 seconds Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 42.858 sec <<< FAILURE! invokeOrderWebService(com.example.switchyard.bean_service.WebServiceTest) Time elapsed: 9.389 sec <<< FAILURE! java.lang.AssertionError: Unexpected error performing XML comparison: The element type "HR" must be terminated by the matching end-tag "</HR>". at org.junit.Assert.fail(Assert.java:88) at org.switchyard.test.SwitchYardTestKit.compareXMLToResource(SwitchYardTestKit.java:670) at org.switchyard.component.test.mixins.http.HTTPMixIn.postResourceAndTestXML(HTTPMixIn.java:360) at com.example.switchyard.bean_service.WebServiceTest.invokeOrderWebService(WebServiceTest.java:31) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) 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:94) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) 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) Results : Failed tests: invokeOrderWebService(com.example.switchyard.bean_service.WebServiceTest): Unexpected error performing XML comparison: The element type "HR" must be terminated by the matching end-tag "</HR>". Tests run: 6, Failures: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:48 min [INFO] Finished at: 2017-03-15T17:26:57+05:30 [INFO] Final Memory: 37M/285M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project bean-service: There are test failures. [ERROR] [ERROR] Please refer to D:\Users\nitin-kuma\workspace-10\bean-service\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 |