Preparing for the deployment of the .NETCompute node sample
For users of this sample who may not have a copy of Microsoft Visual Studio 2010,
a prebuilt .NET assembly file is supplied with the runtime WebSphere Message Broker installation.
If you have chosen the default installation path, this folder is located at:
C:\Program Files\IBM\MQSI\8.0.0.0\sample\DotNet\cs.
Before deploying the .NETCompute node sample, execute the following manual steps:
- Copy the prebuilt .NET assembly file (SampleDotNetProject.dll)
from the cs directory to a location
of your choice on the file system of your runtime Message Broker.
Typically in a development scenario, the Message Broker is directed to the
assembly file that was created by Visual Studio. This approach allows
the Message Broker to automatically reload the assembly ("hot swap"), if it is rebuilt in Visual Studio,
without requiring a Broker redeploy.
For production scenarios, a Message Broker configurable service is typically
used to locate the .NET assembly file. In this situation, the hot swap
facility can be turned on or off by using a property of the configurable service.
- Once you have copied the prebuilt .NET assembly file to a directory of your choice,
you must use a Message Broker Command Console window to create a configurable service for the
sample DotNetApplication. This configurable service allows the .NETCompute nodes to locate
the assembly at runtime. Run the following command to create the configurable service:
mqsicreateconfigurableservice MB8BROKER -c DotNetAppDomain -o DotNetApplication
-n "ApplicationBase" -v "C:\chosen_assembly_file_location"
where MB8BROKER is the name of your broker,
and C:\chosen_assembly_file_location corresponds to the directory you selected in the previous step.
You are now ready to deploy the sample.