Author |
Message |
Topic: Getting MessageID From Message |
Robert_11
Replies: 18 Views: 13482
|
Forum: General IBM MQ Support Posted: Mon Jan 21, 2019 3:38 am Subject: Re: Getting MessageID From Message |
As I said earlier, if you use MQPMO_WARN_IF_NO_SUBS_MATCHED then that would be a way to get a non-zero Completion Code if you used the wrong topic. It will give you an MQCC_WARNING (value 1) but tha ... |
Topic: Getting MessageID From Message |
Robert_11
Replies: 18 Views: 13482
|
Forum: General IBM MQ Support Posted: Thu Jan 10, 2019 8:56 pm Subject: Re: Getting MessageID From Message |
If you're trying to catch the use of the "wrong" topic and one way to tell is that there is no-one subscribed on the "wrong" topic, then that would give you a non-zero Completion ... |
Topic: Getting MessageID From Message |
Robert_11
Replies: 18 Views: 13482
|
Forum: General IBM MQ Support Posted: Tue Jan 08, 2019 3:49 am Subject: Re: Getting MessageID From Message |
Morag wrotes:
The Publish completed successfully regardless of how many subscribers (i.e. could be zero)
Check the return code is zero.
private String topicName = "DATA";
public co ... |
Topic: Getting MessageID From Message |
Robert_11
Replies: 18 Views: 13482
|
Forum: General IBM MQ Support Posted: Tue Jan 08, 2019 1:16 am Subject: Re: Getting MessageID From Message |
Morag wrote:
The Publish completed successfully regardless of how many subscribers (i.e. could be zero)
The Publish completed successfully and there was at least one subscriber, regardless of deli ... |
Topic: Getting MessageID From Message |
Robert_11
Replies: 18 Views: 13482
|
Forum: General IBM MQ Support Posted: Mon Jan 07, 2019 10:27 pm Subject: Re: Getting MessageID From Message |
Thanks All,
Morag Wrote:
There is a Message ID returned to the publisher on completion of the put to the topic.
I am looking for this solution how Message ID is returned back on a successfu ... |
Topic: Getting MessageID From Message |
Robert_11
Replies: 18 Views: 13482
|
Forum: General IBM MQ Support Posted: Mon Jan 07, 2019 5:09 am Subject: Getting MessageID From Message |
Hai All,
Iam Trying to Post message into MQ Topic with C# code i.e.
public const String messageString = "TestMessage";
messageForPut = new MQMessage();
me ... |