I wrote a test where a route is setup within @Test. So i overrode
isUseRoutebulde to return false but now not even the first line of @Test
method is reached. The log looks lke that:
[ main] OcsFtpTest INFO
********************************************************************************
[ main] OcsFtpTest INFO
Testing: test(com.sas.o2.cep.routes.OcsFtpTest)
[ main] OcsFtpTest INFO
********************************************************************************
[ main] OcsFtpTest INFO
********************************************************************************
[ main] OcsFtpTest INFO
Testing done: test(com.sas.o2.cep.routes.OcsFtpTest)
[ main] OcsFtpTest INFO Took:
0.060 seconds (60 millis)
[ main] OcsFtpTest INFO
********************************************************************************
[ main] DefaultCamelContext INFO Apache
Camel 2.13.1 (CamelContext: camel-1) is shutting down
[ main] DefaultCamelContext INFO Apache
Camel 2.13.1 (CamelContext: camel-1) uptime not started
[ main] DefaultCamelContext INFO Apache
Camel 2.13.1 (CamelContext: camel-1) is shutdown in 0.008 seconds
(what i tried before - also not working)
Before this i @Inject my route and for some reason "configure()" was called
directly - why is that? What did add the route to the context without
overriding createRouteBuilder()?
isUseRoutebulde to return false but now not even the first line of @Test
method is reached. The log looks lke that:
[ main] OcsFtpTest INFO
********************************************************************************
[ main] OcsFtpTest INFO
Testing: test(com.sas.o2.cep.routes.OcsFtpTest)
[ main] OcsFtpTest INFO
********************************************************************************
[ main] OcsFtpTest INFO
********************************************************************************
[ main] OcsFtpTest INFO
Testing done: test(com.sas.o2.cep.routes.OcsFtpTest)
[ main] OcsFtpTest INFO Took:
0.060 seconds (60 millis)
[ main] OcsFtpTest INFO
********************************************************************************
[ main] DefaultCamelContext INFO Apache
Camel 2.13.1 (CamelContext: camel-1) is shutting down
[ main] DefaultCamelContext INFO Apache
Camel 2.13.1 (CamelContext: camel-1) uptime not started
[ main] DefaultCamelContext INFO Apache
Camel 2.13.1 (CamelContext: camel-1) is shutdown in 0.008 seconds
(what i tried before - also not working)
Before this i @Inject my route and for some reason "configure()" was called
directly - why is that? What did add the route to the context without
overriding createRouteBuilder()?