When this bundle is started it checks to see if an MQeQueueManager is already running in the JVM, and if so, it assumes it is running in the same runtime as the server, and so uses that queue manager. If no queue manager is detected then a new one is defined and started in memory and a connection definition and remote queue definition are setup to the server.
Client application code is then run in a new thread which sends a single message to the server. No checks are made to ensure the message is received.
When the bundle is stopped, if a new QueueManager was created for the Client, it is stopped and deleted.
The source for the classes included in the bundles can be seen in the MQe\Java\examples\osgi directory. More details are given in the Java Programming Reference for these classes.