Access the uQManager in Java
This
is where we learn how to use the QManager from java using the
QMClient.jar file.
- Download the uQClient.jar.
- Include it in the path for your java compiles and runs (use the -cp or -classpath flags or your preferred IDE).
- Once the jar is in your path all you need to do is:
-
- Declare an instance of the uClient object (new UClient)
-
- Create a queue (this opens it if it already exists)(also note that persistence does not work yet!)
-
- Put messages and Get Messages)
Here are some examples of how to use the uQManager
Hope that this makes you life easier, enjoy the uQManager
Paul/