camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Spring Test stuff (was Re: [VOTE] Release apache-camel-1.4)
Date Tue, 01 Jul 2008 17:11:41 GMT
2008/7/1 Claus Ibsen <ci@silverbullet.dk>:
> Ah that spring stuff is killer easy ;)

Yeah - its really neat! Especially being able to inject either the
CamelContext, CamelTemplate or MockEndpoints for easy testing

> Loading of the MyCamelTest-context.xml from the classpath, should it be in the same package
as the unit test class?

Yeah. You can specify on the annotation the exact URI to use for the
spring XML; but the default is to use the same package name

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Mime
View raw message