Access Keys:
Skip to content (Access Key - 0)
community header community tab mule tab galaxy tab muleforge tab

mule-japex-archetype

This is a Maven archetype to run micro benchmarks with Mule.

Which version?

This project currently comes in two versions: the 1.x line and the 2.x branch. The version number corresponds to the Mule version the framework can be used with: while the mule-japex-extensions version 1.x is targeted at Mule 1.4.x, the mule-japex-extensions version 2.x is targeted at Mule 2.0.x.

Usage

Repository setup

Before you can use the mule-japex-archetype your local repository must contain all the required dependencies. Follow the steps outlined here to get your local repository prepared.

Archetype use


mvn org.mule.tools:bobberplus:create -DarchetypeGroupId=org.mule.tools.japex \
    -DarchetypeArtifactId=mule-japex-archetype \
    -DarchetypeVersion=1.0-SNAPSHOT \
    -DgroupId=yourGroupId -DartifactId=yourArtifactId \ 
    -Dversion=yourVersion

You can also set default values for the various variables that will be prompted while creating the project. To do so add more -D switches to the commandline above:


    -DProjectName="Mini Benchmark"  \
    -DProjectDescription="Tests the Test" \
    -DDriverPackageName="your.package.name" \
    -DDriverPackageName="MyDriverClassName"

Examples

We currently provide a simple example consisting of a simple Mule flow. See VM Roundtrip Example for a description how to build and run it.

Japex startup cycle and Mule tests

Have a look at the explanation of the Japex lifecycle for a good understanding how it works and which effects it might have on your tests.

Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10, the Enterprise Wiki.
Free theme builder license