Re: Question about using mocks

2011-04-08 Thread Richard Kettelerij
Hi, This is possible as of Camel 2.7, see http://camel.apache.org/mock.html and in particular the section called "Mocking existing endpoints with XML DSL". You may also want to take a look at MockFtpServer ( http://mockftpserver.sourceforge.net/). It's great for writing integration tests. Regard

Re: Question about using mocks

2011-04-08 Thread Hadrian Zbarcea
You mean by using the properties component [1]? It may not be immediately obvious from the examples there, but you can have something like And the 'destination' would be defined in a properties file specific to your environment. So you'd only have to modify the url in a propert