Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
christian witschel wrote:
What is bufferPos += rfh->StrucLength; doing. What is StrucLength?
As far as I know the RFH2 header is not fixed in size as it can contain addtional custom values.
The length is variable and StrucLength is how big it is. This is skipping over the header.
If you are getting messages from a Java program that is using JMS - the simplest solution is to ask them to set the TargetClient on their configuration to MQ, rather than JMS.
No programming change! _________________ MQ & Broker admin
What is bufferPos += rfh->StrucLength; doing. What is StrucLength?
As far as I know the RFH2 header is not fixed in size as it can contain addtional custom values.
StrucLength is a field in the header structure (see http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzak.doc/js07150.htm). It tells you how long the whole header is. The += operator "a += b" is the same as "a = a + b" and I believe is available in Java too. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum