java examples.jms.MQeJMSIVT -i <ini file name>where <ini file name> is the name of the initialization (ini) file for the MQe queue manager. You can optionally add a "-t" flag to turn tracing on:
java examples.jms.MQeJMSIVT -t -i <ini file name>
using ini file '<.ini file name>' to configure the connection checking classpath found JMS interface classes found MQe JMS classes found MQe base classes Creating and configuring QueueConnectionFactory Creating connection From the connection data, JMS provider is IBM MQe Version 2.0.0.0 Creating session Creating queue Creating sender Creating receiver Creating message Sending message Receiving message HEADER FIELDS ---------------------------------------- JMSType: jms_text JMSDeliveryMode: 2 JMSExpiration: 0 JMSPriority: 4 JMSMessageID: ID:00000009524cf094000000f052fc06ca JMSTimestamp: 1032184399562 JMSCorrelationID: null JMSDestination: null:SYSTEM.DEFAULT.LOCAL.QUEUE JMSReplyTo: null JMSRedelivered: false PROPERTY FIELDS (read only) ----------------------------------------- JMSXRcvTimestamp : 1032184400133 MESSAGE BODY (read only) ----------------------------------------- A simple text message from the MQeJMSIVT program Retrieved message is a TextMessage; now checking for equality with the sent message Messages are equal. Great! Closing connection connection closed IVT finished
Parent topic: Using JMS with MQe