Oh yes, I know this very well ;-)

Arg....

You have to use the raw MQI structure/object for MQRFH2 and attach it to
your payload.  It needs to be infront of it.  After constructing your MQRFH2
header and writing it to your MQMessage object you can then add your normal
data/message to the MQMessage Object.  Make sure you have set the
MQMD.Format properly, the structLength for MQRFH2 and the NameValueLength of
your folders if you use them using four byte boundries.  

Enjoy!



-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] On Behalf Of Vivek
Pandey
Sent: Thursday, October 30, 2003 4:20 AM
To: [EMAIL PROTECTED]
Subject: MQRFH2 in Java


Does anyone have an idea as to how do I access the MQRFH2 header in Java (MQ
base Java not JMS) I want to piggyback some data onto the message, separated
from the payload. The MQRFH2 header can be used. But in Java I could find no
such field in the MQMessage class.

regards,

Vivek Pandey
Software Engineer
IBCOE, TechSpan
Bangalore



-----Original Message-----
From: David C. Partridge [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 2:42 PM
To: [EMAIL PROTECTED]
Subject: AMQ7880 Error starting command server


Whenever I start a QM (or is it explorer) I get messages like this in the MQ
error log and Windows Event Log - is this something I should worry about?

AMQ7880: Error code 20 starting QM1/Command Server WebSphere MQ service.

EXPLANATION:
The service was unable to start QM1/Command Server. The error message
reported was as follows: Process could not be started - return code 20
ACTION:
Use WebSphere MQ Services to investigate why the service could not begin. If
recovery for this service is active, MQ will attempt to recover.

Regards,
David C. Partridge
Security and MQ Products Manager
Primeur Group
Tel: +44 (0)1926 511058
Mobile: +44 (0)7713 880197

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in the
Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to