The payment sample is actually out-dated and not recommended to use. Its using JBI which is not recommended to be used for new projects.
Instead I suggest to check out this webinar - Getting Started with Apache ServiceMix. From this page
Which has sample source code to download as well (rider auto parts). There is a link at the webinar link.