I'm testing the latest 2.8.0 on my current application. In Camel 2.7.2, I was able to reference template when I extend CamelTestSupport class PublishRequestTest extends CamelTestSupport{ @Test def testValidRequest{ val mock = getMockEndpoint("mock:output")
val message = """{"username":"bob","permalink":"perma"}""" template.sendBody("seda:input", message) In Camel 2.8.0, I get a template value missing error: [ERROR] PublishRequestTest.scala:18: error: not found: value template [INFO] template.sendBody("seda:input", message) Is this the expected behavior? If so, how should i reference a template object in a test environment? -- @tommychheng http://tommy.chheng.com