I recommend you to use switchyard if it is for a research project.
Take a look at: http://www.jboss.org/switchyard/
Read the docs and you will find some integration sections, you can work with that to start and then extend it depends on what you need.
Cheers