Author |
Message |
Topic: Getting backout threshold with MQ Java API |
jwatson
Replies: 11 Views: 13142
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 13, 2006 11:17 am Subject: Getting backout threshold with MQ Java API |
Thanks to everyone who assisted with this. Here's a working snippet for as400 if anyone else needs it:
int[] query = {MQIA_BACKOUT_THRESHOLD, MQCA_BACKOUT_REQ_Q_NAME};
... |
Topic: Getting backout threshold with MQ Java API |
jwatson
Replies: 11 Views: 13142
|
Forum: IBM MQ Java / JMS Posted: Mon Nov 13, 2006 7:03 am Subject: Getting backout threshold with MQ Java API |
ummm..they are in MQC:
MQC.MQCA_BACKOUT_REQ_Q_NAME
MQC.MQIA_BACKOUT_THRESHOLD
Not in the jar I have. I looked at the manifest and it's got this:
Implementation-Version: 5.306 - j5306-11-05072 ... |
Topic: Getting backout threshold with MQ Java API |
jwatson
Replies: 11 Views: 13142
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 10, 2006 2:18 pm Subject: thanks |
Use the inquire() method of the MQManagedObject class (from which MQQueue is derived...) with MQIA_BACKOUT_THRESHOLD and MQCA_BACKOUT_REQ_Q_NAME selectors .....
Thanks. Where are these declared? ... |
Topic: Getting backout threshold with MQ Java API |
jwatson
Replies: 11 Views: 13142
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 10, 2006 2:04 pm Subject: I'm new here, not stupid |
But if oustside of that config, it is the applications' responsibility...
I understand that it's my responsibility. How do I fufill it if I can't get the threshold? |
Topic: Getting backout threshold with MQ Java API |
jwatson
Replies: 11 Views: 13142
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 10, 2006 1:43 pm Subject: Getting backout threshold with MQ Java API |
The simplest thing to do is to have queue naming convention so that if ur input queue is APPLES then backout is APPLES.BACKOUT or BACKOUT.APPLES however you would have to use pcf commands to retrieve ... |
Topic: Getting backout threshold with MQ Java API |
jwatson
Replies: 11 Views: 13142
|
Forum: IBM MQ Java / JMS Posted: Fri Nov 10, 2006 12:20 pm Subject: Getting backout threshold with MQ Java API |
Maybe I'm just missing something here but I don't see how I am supposed to get the backout threshold for a queue using the MQ Java API.
I can easily enough get the backout count, but given that MQ ... |