I've gone ahead and posted the code for the example I used during the FMC webinar during RedHat's Integration and BPM week up on github, you can get ahold of it here.
wrong forum, sorry!