AlexeiSkate
Programmer
Hi,
I'm looking through the 'MQSeries V5 Programming Examples' redbook, which has programming examples written in C. When the C program put a segmented message on the queue, it codes the following: md.MsgFlags = MQMF_SEGMENT (md = Message Descriptor).
Java API uses the MQMessage object, which encapsulates the data and its message descriptor MQMD. How do I indicate that my message is a segment in Java similar to the C example above ? Do I set the MQMessage variable messagFlags to some constant ? (I don't see anything similar to MQMF_SEGMENT constant in the redbood for MQSeries for Java.) Or do I set some value in the MQPutMessageOption object to signal segmentation and send it over as a parameter for my MQMessage object ? How in general do I manipulate the MQMD values when using the Java API ? Us there another useful book beside the "MQSeries Using Java" from ibm redbook ?
Thanks for anyone that can give me some help/advice.
I'm looking through the 'MQSeries V5 Programming Examples' redbook, which has programming examples written in C. When the C program put a segmented message on the queue, it codes the following: md.MsgFlags = MQMF_SEGMENT (md = Message Descriptor).
Java API uses the MQMessage object, which encapsulates the data and its message descriptor MQMD. How do I indicate that my message is a segment in Java similar to the C example above ? Do I set the MQMessage variable messagFlags to some constant ? (I don't see anything similar to MQMF_SEGMENT constant in the redbood for MQSeries for Java.) Or do I set some value in the MQPutMessageOption object to signal segmentation and send it over as a parameter for my MQMessage object ? How in general do I manipulate the MQMD values when using the Java API ? Us there another useful book beside the "MQSeries Using Java" from ibm redbook ?
Thanks for anyone that can give me some help/advice.