Author |
Message |
Topic: Preventing infinite loop when rolling back in triggered app? |
warelock
Replies: 7 Views: 6339
|
Forum: IBM MQ Java / JMS Posted: Mon Oct 25, 2010 12:31 pm Subject: Preventing infinite loop when rolling back in triggered app? |
Basically, if you want an app to be triggered normally, but come to a full stop after an exception, you have two choices.
The first is to disable triggering when you get an exception.
The proble ... |
Topic: Preventing infinite loop when rolling back in triggered app? |
warelock
Replies: 7 Views: 6339
|
Forum: IBM MQ Java / JMS Posted: Mon Oct 25, 2010 10:57 am Subject: Re: trigger on depth not working? |
To try this, I set up the trigger type to be MQTT_DEPTH with a TriggerDepth of 1.
However, this trigger fires only once; it processes the single message leaving the queue depth at 0. Then, when ... |
Topic: Preventing infinite loop when rolling back in triggered app? |
warelock
Replies: 7 Views: 6339
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 21, 2010 9:52 am Subject: trigger on depth not working? |
To try this, I set up the trigger type to be MQTT_DEPTH with a TriggerDepth of 1.
However, this trigger fires only once; it processes the single message leaving the queue depth at 0. Then, when ... |
Topic: Preventing infinite loop when rolling back in triggered app? |
warelock
Replies: 7 Views: 6339
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 21, 2010 8:23 am Subject: trigger on depth with a depth of 1 |
thanks for your thoughts, mqjeff.
the reason we want to stop the application is that all messages must be sent in order - something we cannot change in the exsting legacy apps (at least for the m ... |
Topic: Preventing infinite loop when rolling back in triggered app? |
warelock
Replies: 7 Views: 6339
|
Forum: IBM MQ Java / JMS Posted: Thu Oct 21, 2010 7:41 am Subject: Preventing infinite loop when rolling back in triggered app? |
I have a Java MQ API app that will be triggered (MQTT_FIRST) when a message is put on our input queue. The app reads a message from the input queue and writes it to output queues depending on message ... |
Topic: MQOPEN returned MQCC_OK when queue does not exist !?! |
warelock
Replies: 7 Views: 7463
|
Forum: IBM MQ API Support Posted: Wed Aug 04, 2010 7:40 pm Subject: got it |
AH, i see it - this is mentioned on page 99 of the Application Programming Guide:
<<Only local names are validated when you call MQOPEN...>>
in the section "Opening remote queue ... |
Topic: MQOPEN returned MQCC_OK when queue does not exist !?! |
warelock
Replies: 7 Views: 7463
|
Forum: IBM MQ API Support Posted: Wed Aug 04, 2010 7:31 pm Subject: thanks ! |
Thanks bruce2359 ! That makes sense ... I've been trying to find out more about thisin the Programming Guide and Programming Reference , but i still have not run into it. Appreciate your advice ! |
Topic: MQOPEN returned MQCC_OK when queue does not exist !?! |
warelock
Replies: 7 Views: 7463
|
Forum: IBM MQ API Support Posted: Wed Aug 04, 2010 6:51 pm Subject: ok |
bruce2359 ... Oh, I see. Hm ... does that mean that there is no way to tell if I can connect to a specific remote queue ? |
Topic: MQOPEN returned MQCC_OK when queue does not exist !?! |
warelock
Replies: 7 Views: 7463
|
Forum: IBM MQ API Support Posted: Wed Aug 04, 2010 6:27 pm Subject: log output |
mvic, i see this:
20100804193451 - SAMPLE_RMS_PO_Info DEBUG - MQCONN to queue manager ISWMQ19T succeeded.
20100804193451 - SAMPLE_RMS_PO_Info DEBUG - MQOPEN for queue XL.PURCHASE.ORDER.Q0 for qu ... |
Topic: MQOPEN returned MQCC_OK when queue does not exist !?! |
warelock
Replies: 7 Views: 7463
|
Forum: IBM MQ API Support Posted: Wed Aug 04, 2010 5:19 pm Subject: MQOPEN returned MQCC_OK when queue does not exist !?! |
I've got a strange problem ... but, aside from that, I am hoping someone here can help me with a code issue
I am opening a set of queues with this code
int openOutputQueues( MQHCONN Hc ... |
Topic: Can a channel exit route messages ? |
warelock
Replies: 35 Views: 41759
|
Forum: User Exits Posted: Thu Jun 24, 2010 5:57 pm Subject: Re: channel exits for content-based routing |
we've been able to write this code in a channel exit (MSGEXIT).
Out of interest, just at a high level, what does your exit do?
And how does it robustly handle error detection, recovery and tran ... |
Topic: Can a channel exit route messages ? |
warelock
Replies: 35 Views: 41759
|
Forum: User Exits Posted: Thu Jun 24, 2010 5:44 pm Subject: Re: channel exits for content-based routing |
we've been able to write this code in a channel exit (MSGEXIT).
Out of interest, just at a high level, what does your exit do?
It parses the message payload data to extract a string of chars th ... |
Topic: Can a channel exit route messages ? |
warelock
Replies: 35 Views: 41759
|
Forum: User Exits Posted: Wed Jun 23, 2010 6:29 am Subject: Can a channel exit route messages ? |
Our business goal is to route messages to different queues depending on the content of the message. We don't want to use MQSI, and we do want to do this with MQ facilities. However, we are not blind ... |
Topic: Can a channel exit route messages ? |
warelock
Replies: 35 Views: 41759
|
Forum: User Exits Posted: Wed Jun 23, 2010 6:13 am Subject: Re: channel exits for content-based routing |
You never did answer Vitor's question...
Given where a channel exit runs & what it can do, what makes you think it's possible to route messages with one? How (in an ideal world) would your exit ... |
Topic: Can a channel exit route messages ? |
warelock
Replies: 35 Views: 41759
|
Forum: User Exits Posted: Tue Jun 22, 2010 10:25 am Subject: thanks |
gents, i thank you for your advice. we were hoping that channel exits would provide a alternative to straight programming that would provide better performance ... we'd certainly be able to write a C ... |