1. First build the Apache Qpid java using following commands or please refer to the how to build in Apache Qpid.
- mvn -Pfastinstall
- cd distribution
- mvn (This will create all the artifacts )
- tar -xzvf target/qpid-1.0-incubating-M3-SNAPSHOT-java-bin.tar.gz
Now you are in a possition of running Qpid in commandline so you can try this out by following command.
- $QPID_HOME/bin/qpid-server
mvn idea:idea
This will create an Idea project so you can open the project using Idea but the problem is you won't be able to run the java broker on Idea and you won't be able to debug the broker. So in order to make it happen you have to do several modifications. First we have to hardcode the Qpidhome, although we have already set the environment variable it's unable to access them when we start the broker using Idea.
Please have a look in to following diff files and you'll get to know how to do those modifications. diff files.
When you do modifictaion don't apply the patch directly please have a look and do the modifications according to your installation which means your Qpidhome is different from my one.After doing three of those modifications compile the project in Idea and run it, It will work. If this doesn't work for you please be kind enough to comment on this post.
Thanks