Administrating WebSphere MQ with your browser.
Before you start building the MQWeb HTTP daemon, you need to build POCO. It’s the only dependency you need to build. POCO is a collection of modern, powerful open source C++ class libraries and frameworks for building network- and internet-based applications that run on desktop, server, mobile and embedded systems.
Download and extract the archive on your system.
To build MQWeb you need to install the WebSphere MQ SDK package. Make sure you select this component when installing WebSphere MQ.
Create a directory shared in the directory where POCO is extracted. Make this directory the current working directory and run the configure command:
../configure --shared --omit=Data/MySQL,Data/ODBC --no-tests --no-samples
The MySQL and ODBC data libraries are omitted because MQWeb doesn’t need them. If you only going to use POCO for MQWeb, there is also no need to build the tests and samples.
You can also omit the build of the XML library, when you define POCO_UTIL_NO_XMLCONFIGURATION in Poco/Foundation/Config.h. You also need to update premake.lua in the MQWeb folder and remove the XML definitions.
Now you are ready to build POCO.
and install … (not required, but recommended for production)
Premake or CMake can be used to generate makefiles, project files, …
Create a build folder and make it the current directory. When running CMake the following properties can be used:
debug or release
set to N when POCO isn’t installed. By default the build process assumes that POCO is installed.
When POCO isn’t installed then use this property to set the location of POCO.
cmake -DCMAKE_BUILD_TYPE=debug .. cmake -DCMAKE_BUILD_TYPE=debug -DPOCO_INSTALLED=N -DPOCO_PREFIX=/development/poco-1.6.1-all/shared ..
To build MQWeb on Windows you need Visual Studio. MQWeb can be build with the free Express editions.
Build the Foundation, JSON, XML, Util and Net libraries.
You can omit the build of the XML library, when you define POCO_UTIL_NO_XMLCONFIGURATION in Poco/Foundation/Config.h. Open premake.lua in the MQWeb folder and remove the XML definitions.
Download a MQWeb source archive from the releases or just download an archive from the source tree. Note that the master always points to the latest release, while the source tree with the latest branch points to code that is work in progress and it is possible that it doesn’t work.
Use CMake to generate a Visual Studio solution, codelite workspace, …