Author |
Message |
Topic: Set MessageID and CorrelationID |
URPradhan
Replies: 15 Views: 19326
|
Forum: IBM MQ API Support Posted: Tue May 17, 2011 2:11 am Subject: Set MessageID and CorrelationID |
Does MQ series guaranty the order of the message delivery?
Yes, and no; it depends.
This subject is well documented in the WMQ Application Programming Guide.
Please do some research.
Tha ... |
Topic: Set MessageID and CorrelationID |
URPradhan
Replies: 15 Views: 19326
|
Forum: IBM MQ API Support Posted: Mon May 16, 2011 5:12 pm Subject: Set MessageID and CorrelationID |
Actually, as we know the transmission of mq messages happen in asynchronous mode.
But the requirement is that, the messages MUST be read from queue as the order they have been sent.
So to ensu ... |
Topic: Set MessageID and CorrelationID |
URPradhan
Replies: 15 Views: 19326
|
Forum: IBM MQ API Support Posted: Sun May 15, 2011 10:15 pm Subject: Set MessageID and CorrelationID |
OK. Lets keep aside the MessageID.
What about the Correlation ID ? Hope we can set it to any value for example: 1000 (decimal number). Now how to set this number as correlation id ? |
Topic: Set MessageID and CorrelationID |
URPradhan
Replies: 15 Views: 19326
|
Forum: IBM MQ API Support Posted: Sat May 14, 2011 4:35 am Subject: Set MessageID and CorrelationID |
Hi Friends
Again another question from a beginner.
I'm only sending messages to a queue and I need to set a "user defined" message id+correlation id each time to the messages before se ... |
Topic: Set message properties using C (MQSETMP) |
URPradhan
Replies: 7 Views: 8488
|
Forum: IBM MQ API Support Posted: Tue May 10, 2011 10:21 pm Subject: Set message properties using C (MQSETMP) |
Correct, but the purpose of this sample code was to show how to set MQMD fields using MQSETMP, and obviate the need for a separate MQMD variable.
Great !
Thank you gbaddeley and mvic. |
Topic: Set message properties using C (MQSETMP) |
URPradhan
Replies: 7 Views: 8488
|
Forum: IBM MQ API Support Posted: Tue May 10, 2011 9:17 pm Subject: Set message properties using C (MQSETMP) |
Thank you mvic for your continuing support.
What I understood essentially is that, to set the message format to MQFMT_STRING the code is using the MQSETMP again.
If we would have used the decla ... |
Topic: Set message properties using C (MQSETMP) |
URPradhan
Replies: 7 Views: 8488
|
Forum: IBM MQ API Support Posted: Tue May 10, 2011 10:51 am Subject: Re: Set message properties using C (MQSETMP) |
Take another look. What is your current opinion of its purpose there in the code?
It seems that, the MQSETMP in the put message section of the code is setting another message property "Root.M ... |
Topic: Set message properties using C (MQSETMP) |
URPradhan
Replies: 7 Views: 8488
|
Forum: IBM MQ API Support Posted: Tue May 10, 2011 3:17 am Subject: Set message properties using C (MQSETMP) |
Hi Friends
I saw the sample program 'amqsstma.c' to set the message properties using the C API, MQSETMP. The function gets called for each property and value to be set on the message in the while ... |
Topic: Set message properties using MQSETMP in C++ |
URPradhan
Replies: 11 Views: 14004
|
Forum: IBM MQ API Support Posted: Mon May 09, 2011 2:06 am Subject: Set message properties using MQSETMP in C++ |
It's been publicly stated that the C++ imq classes are "functionally stabilised". They continue to be supported but no new function will be added to them.
For C++ applications, you are - ... |
Topic: Set message properties using MQSETMP in C++ |
URPradhan
Replies: 11 Views: 14004
|
Forum: IBM MQ API Support Posted: Sun May 08, 2011 10:15 am Subject: Set message properties using MQSETMP in C++ |
As markt has said, about the MQ C++ classes, "They continue to be supported but no new function will be added to them."
I have already said all I know on this subject, so cannot be of fur ... |
Topic: Set message properties using MQSETMP in C++ |
URPradhan
Replies: 11 Views: 14004
|
Forum: IBM MQ API Support Posted: Sun May 08, 2011 1:58 am Subject: Set message properties using MQSETMP in C++ |
Well, yes and no. There should be no need to "wrap" things? Just "call" things. You would have had to call methods on your C++ classes if they were there. Now you just have to ... |
Topic: Set message properties using MQSETMP in C++ |
URPradhan
Replies: 11 Views: 14004
|
Forum: IBM MQ API Support Posted: Fri May 06, 2011 5:41 pm Subject: Set message properties using MQSETMP in C++ |
What mvic is basically saying is that you should wrap the MQI in your own C++ api if you want to use full function of WMQ calls - and not try to mix and match ImqMessage and MQSETMP. So you would us ... |
Topic: Set message properties using MQSETMP in C++ |
URPradhan
Replies: 11 Views: 14004
|
Forum: IBM MQ API Support Posted: Fri May 06, 2011 6:50 am Subject: Set message properties using MQSETMP in C++ |
No, MQSETMP is not available in MQ C++ interface. It's only in C interface.
Thank you for your reply.
Which means, If we want to set message properties the ONLY way is to develop a "C" ... |
Topic: Set message properties using MQSETMP in C++ |
URPradhan
Replies: 11 Views: 14004
|
Forum: IBM MQ API Support Posted: Thu May 05, 2011 7:52 pm Subject: Set message properties using MQSETMP in C++ |
Hi Friends
I'm new to MQ Series and we are here using MQ Series v7.
I'm writing a C++ MQ client application for z/OS, which needs to send messages with message properties. And after reading the ... |