Author |
Message |
Topic: Overriding MQ MSGID with the qm generated one |
danhoffman
Replies: 9 Views: 4170
|
Forum: General IBM MQ Support Posted: Fri Jan 11, 2008 5:31 pm Subject: Overriding MQ MSGID with the qm generated one |
Awful lot of bantering for such a simple thing. Get them to change their app and be done with it!
Unfortunately, when different banks are sending messages to each other, sometimes it's not ... |
Topic: Overriding MQ MSGID with the qm generated one |
danhoffman
Replies: 9 Views: 4170
|
Forum: General IBM MQ Support Posted: Wed Jan 09, 2008 2:22 pm Subject: Overriding MQ MSGID with the qm generated one |
If you cannot change the sending app you'll need to write a little app that gets the messages from Q A clearing the msg Id so that you get a new one... generated by the qmgr and puts them to Q B. :in ... |
Topic: Overriding MQ MSGID with the qm generated one |
danhoffman
Replies: 9 Views: 4170
|
Forum: General IBM MQ Support Posted: Wed Jan 09, 2008 2:12 pm Subject: Overriding MQ MSGID with the qm generated one |
ok - got it. A won't work because A's failure recovery relies on the msg id to be unique.
Is there any way that the queue manager itself can do this? (Via configuration - ie special type of que ... |
Topic: Overriding MQ MSGID with the qm generated one |
danhoffman
Replies: 9 Views: 4170
|
Forum: General IBM MQ Support Posted: Wed Jan 09, 2008 2:06 pm Subject: Overriding MQ MSGID with the qm generated one |
A. Get the message and immediatly reput it to another queue without their lousy Message ID. Your QM will generate a new one. Get the message agaon from your intermediate q and proceed.
I'm assumi ... |
Topic: Overriding MQ MSGID with the qm generated one |
danhoffman
Replies: 9 Views: 4170
|
Forum: General IBM MQ Support Posted: Wed Jan 09, 2008 1:42 pm Subject: Overriding MQ MSGID with the qm generated one |
There is an external application who is feeding us messages and populating the msgid in their put call. Unfortunately, they are populating it with something that is not guaranteed to be unique, and o ... |
Topic: ImqQueue's currentDepth() returns false sometimes |
danhoffman
Replies: 12 Views: 7209
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2007 9:10 am Subject: ImqQueue's currentDepth() returns false sometimes |
To respond directly to your question, if you're using administrative functions you're better off with PCF commands.
I'm told that it doesn't work against a mainframe queue manager. Is that correct ... |
Topic: ImqQueue's currentDepth() returns false sometimes |
danhoffman
Replies: 12 Views: 7209
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2007 9:06 am Subject: ImqQueue's currentDepth() returns false sometimes |
It may be better to use PCFs rather than INQUIRE.
Are you sure the queues that are returning false are valid to have queue depth?
jeff,
I ordinarily would be using PCF (and do against queue man ... |
Topic: ImqQueue's currentDepth() returns false sometimes |
danhoffman
Replies: 12 Views: 7209
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2007 9:01 am Subject: currentDepth |
While your suggestions may be valid, there is a specific function available in the API that provides the information I seek. I'm having trouble with using this function in the API. This forum is to ... |
Topic: ImqQueue's currentDepth() returns false sometimes |
danhoffman
Replies: 12 Views: 7209
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2007 8:53 am Subject: currentDepth |
It dumps the queue depth of multiple queues from multiple queue managers to a csv file for analysis over time. |
Topic: ImqQueue's currentDepth() returns false sometimes |
danhoffman
Replies: 12 Views: 7209
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2007 8:37 am Subject: ImqQueue's currentDepth() returns false sometimes |
Hi,
I have an app that gets the current depth of all the queues, alerts, etc. I'm finding that there are certain queues that sometimes return false on this function call and sometimes return true ... |
Topic: MQRC_Q_MGR_NOT_AVAILABLE |
danhoffman
Replies: 6 Views: 7253
|
Forum: IBM MQ API Support Posted: Thu Jun 01, 2006 6:38 pm Subject: MQRC_Q_MGR_NOT_AVAILABLE |
OK, my bad. |
Topic: MQRC_Q_MGR_NOT_AVAILABLE |
danhoffman
Replies: 6 Views: 7253
|
Forum: IBM MQ API Support Posted: Thu Jun 01, 2006 1:04 pm Subject: MQRC_Q_MGR_NOT_AVAILABLE |
I believe 2059 can also be an indication of a permissions issue (ie that the user you are using to access the queue manager is not a member of 'mqm', etc.) |
Topic: Confused on how to get MQMD fields from ImqMessage |
danhoffman
Replies: 16 Views: 9971
|
Forum: IBM MQ API Support Posted: Thu Jun 01, 2006 6:32 am Subject: Confused on how to get MQMD fields from ImqMessage |
I guess, I just prefer to use objects than all of those pointers, MQCONN stuff. |
Topic: Confused on how to get MQMD fields from ImqMessage |
danhoffman
Replies: 16 Views: 9971
|
Forum: IBM MQ API Support Posted: Wed May 31, 2006 7:07 pm Subject: Confused on how to get MQMD fields from ImqMessage |
It turns out that ImqMessage descends from ImqMessageTracker and ImqCache (I found this out only by looking at the .hpp file)
Therefore, all methods from ImqMessageTracker and ImqCache can be calle ... |
Topic: Confused on how to get MQMD fields from ImqMessage |
danhoffman
Replies: 16 Views: 9971
|
Forum: IBM MQ API Support Posted: Wed May 31, 2006 6:47 pm Subject: Confused on how to get MQMD fields from ImqMessage |
Yeah, already tried that. I also tried to descend from ImqMessage to make the MQMD useable, didn't work. Just looks like the C++ api is not complete and that my alternative is java or C. |