ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » TRIGGER PROBLEM

Post new topic  Reply to topic
 TRIGGER PROBLEM « View previous topic :: View next topic » 
Author Message
oldbear
PostPosted: Fri Sep 23, 2005 11:15 pm    Post subject: TRIGGER PROBLEM Reply with quote

Newbie

Joined: 23 Sep 2005
Posts: 2

I use a trigger to drive an application,now it works.The trigtype is EVERY. but now i have a problem,the queue has received a message,it wasn't trigged.the queue's CURDEPTH is 1.when another message comes,the older message is trigged,the newer message is still in the queue,how can i solve it?
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Fri Sep 23, 2005 11:28 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Like it or not.....

Application design. My personal oppinion is: It should only be allowed to use TRIGGER-FIRST.
The others are too complicated to use.

A simple way to handle this (I did it some years ago:
Write my own "trigger monitor" that was aware of how to handle TRIGGER-EVERY, by monitoring the queue.
This triggermonitor was started by a trigger-first, and it would wait until there was no more messages on the queue before it terminated. (It opened the queue with MQOO_INPUT_SHARED).

Another way could be to change the application to continue getting messages until the queue was empty....

I hope this helps.

Just my $0.02
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
oldbear
PostPosted: Sat Sep 24, 2005 12:00 am    Post subject: Thank you very much! Reply with quote

Newbie

Joined: 23 Sep 2005
Posts: 2

I just discussed it with others.and the result is the second you said.thank you very much!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » TRIGGER PROBLEM
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.