This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes CAMEL Test Kit - Usage and Advantages? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "CAMEL Test Kit - Usage and Advantages?" Watch "CAMEL Test Kit - Usage and Advantages?" New topic
Author

CAMEL Test Kit - Usage and Advantages?

Chuck Staples
Greenhorn

Joined: Oct 22, 2008
Posts: 6
The Manning page for the "Camel in Action" book indicates Camel has included a "powerful test kit for unit and integration testing".

Could you comment briefly on what this is and does, beyond the obvious?

Is it intended to be essentially Camel-centric, or a more generic enhancement / replacement for such tools as junit?

Is it intended as a primary vehicle for verifying enhancements / user-created plugins to Camel?

Does it include routines suitable for measuring (or optimizing :P) Camel code performance and/or scalability?

thanks and regards,
=Chuck Staples

Jonathan Anstey
author
Greenhorn

Joined: Sep 10, 2010
Posts: 9
Could you comment briefly on what this is and does, beyond the obvious?
Is it intended to be essentially Camel-centric, or a more generic enhancement / replacement for such tools as junit?


The testing functionality in Camel is still used for creating JUnit tests - so it is not replacing JUnit. It started out mainly for testing Camel applications themselves but can also be used as a test driver for other applications. It has components for receiving and checking to make sure that certain conditions are met in the message (mock & test components). It also has a dataset component useful for generating large amounts of data for load testing.

Testing is covered extensively in chapter 6 and you can also find more information at http://camel.apache.org/testing.html

Is it intended as a primary vehicle for verifying enhancements / user-created plugins to Camel?


Yeah, you should use the camel-test module for testing Camel applications and/or extensions.

Does it include routines suitable for measuring (or optimizing :P) Camel code performance and/or scalability?


The dataset component is useful for testing how load affects a Camel application (you can see MPS) but certainly you'd have to resort to traditional monitoring & profiling tools to dig deeper.

Cheers,
Jon
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CAMEL Test Kit - Usage and Advantages?
 
Similar Threads
Camel and EIP
WA #1.....word association
Apache Camel - Help us by taking the Camel Survey!
Where could I use Camel? Examples?
appserver help