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 » Browse and trigger

Post new topic  Reply to topic
 Browse and trigger « View previous topic :: View next topic » 
Author Message
cdhami
PostPosted: Fri Nov 03, 2006 9:43 am    Post subject: Browse and trigger Reply with quote

Newbie

Joined: 03 Feb 2006
Posts: 9

Hi,
I need to clarify the following.
My queue has trigger first and Manager has trigger interval of 20 seconds

1. If my application does browse open, and then goes into delay, will the next message after 20 seconds triggers one more transaction.?


2. Under browse_first + input_shared option , if two transaction are triggered, will both read the same message?

thanks
cdhami
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Nov 03, 2006 9:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Trigger on First only fires when qdepth goes from 0 to 1.

You shouldn't use BROWSE for anything other than a message browsing tool. Any situation in which you need to "non-destructively" get a message is better handled by syncpoint+backout processing.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
cdhami
PostPosted: Fri Nov 03, 2006 9:54 am    Post subject: Reply with quote

Newbie

Joined: 03 Feb 2006
Posts: 9

Thanks jeff...but my question is still unanswered.

I need to prove right, the above questions posted as it is in our current application. This will help us to make changes to it.

Cdhami
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Nov 03, 2006 10:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

No, your question is answered.

Trigger on first only fires when queue depth goes from zero to 1.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Nov 03, 2006 11:29 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

What do you understand TRIGINT to be used for? I think you are getting confused about what the trigger interval value's purpose is.

There is no 'trigger on time' value. The trigger interval is not meant to be there for that purpose and it is an awful design to try and use it for that, especially as it is a Queue manager wide setting.

Jeff has correctly answered your question.

The TRIGINT value should be used with extreme caution and with the understanding that this value is queue manager wide and will effect all queues with a trigger type of FIRST.

Now to answer the other component to your question. It depends on your own code as to which message it will read.

The bottom line is if the triggered application destructively gets the messages on the triggered queue then all will be well. If it doesn't, then you are potentially in for a world of hurt.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 03, 2006 3:39 pm    Post subject: Re: Browse and trigger Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

cdhami wrote:
Hi,
I need to clarify the following.
My queue has trigger first and Manager has trigger interval of 20 seconds

1. If my application does browse open, and then goes into delay, will the next message after 20 seconds triggers one more transaction.?


2. Under browse_first + input_shared option , if two transaction are triggered, will both read the same message?

thanks
cdhami

1) you do not understand the concept of triggering... There is no trigger created if the queue is being serviced. A browse process would mean servicing the queue....

2) see Jeff's suggestion. You need to use a destructive get. Do it under syncpoint.

3) reevaluate your requirements. Maybe triggering is not the solution for this scenario...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Browse and trigger
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.