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 » attribute Trigger control setting

Post new topic  Reply to topic
 attribute Trigger control setting « View previous topic :: View next topic » 
Author Message
MQEnthu
PostPosted: Wed Feb 25, 2009 3:39 am    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

When we can set the attribute Trigger control to 'off', why should we have the Trigger Type as 'None'.. any reasons..
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
Challenger
PostPosted: Wed Feb 25, 2009 4:27 am    Post subject: Reply with quote

Centurion

Joined: 31 Mar 2008
Posts: 115

mqenthu wrote:
Quote:
When we can set the attribute Trigger control to 'off', why should we have the Trigger Type as 'None'.. any reasons..


Possibly the wrong forum? Although this may be a challenge to you

I think I can safely say, no points for this
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Wed Feb 25, 2009 5:04 am    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Challenger wrote:
4) Facilities you don't need (and why)



MQEnthu wrote:
When we can set the attribute Trigger control to 'off', why should we have the Trigger Type as 'None'.. any reasons..


Apologize if I have misunderstood the forum...
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
Challenger
PostPosted: Wed Feb 25, 2009 8:18 am    Post subject: Reply with quote

Centurion

Joined: 31 Mar 2008
Posts: 115

Sorry - my apologies as well - this is a challenge to come up with new and novel MQ management facilities - not enhancements to the MQ product itself. Thanks for your input anyway.

But the trigger attribute is a flip-switch on-off, and AFAIK it's possible to set up the trigdepth parameter to say 5, and have trigtype set to none - this should trigger when five or more messages in the queue, not when the first message arrives or every message arrives - but I could be wrong and I'm waiting now to be shot down in flames
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 25, 2009 3:03 pm    Post subject: Reply with quote

Grand High Poobah

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

you mean trigtype set to "depth" and you need to reset the trigger once you have crossed the threshold.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Wed Feb 25, 2009 3:42 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

MQEnthu wrote:
When we can set the attribute Trigger control to 'off', why should we have the Trigger Type as 'None'.. any reasons..


You are asking why TRIGTYPE(NONE) is a valid setting, when triggering can (also) be turned on an off using TRIGGER and NOTRIGGER ?

TRIGGER and NOTRIGGER is just a toggle to enable and disable triggering. Looking at the current state of TRIGGER vs NOTRIGGER does not give any clues about whether this queue should or should not normally be triggered, it may just be that it has been set to NOTRIGGER to temporarily disable triggering.

Look at TRIGTYPE to get the definitive answer on whether triggering is being used to kick off processing of messages on the queue. TRIGTYPE(NONE) indicates that this queue does not use any type of triggering.
_________________
Glenn
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Thu Feb 26, 2009 3:22 am    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

Challenger wrote:
...AFAIK it's possible to set up the trigdepth parameter to say 5, and have trigtype set to none - this should trigger when five or more messages in the queue, not when the first message arrives or every message arrives...


I do not think so ...No triggering happens when the trigger type is set to None..

For triggering to happen in the scenario you have mentioned, the trigger type should be set to "Depth"..
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Thu Feb 26, 2009 6:34 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Maybe....and I have no proof one way or the other and maybe IBM could comment on this, but just MAYBE triggertype of NONE shortens the internal IBM code path?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 26, 2009 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I'd bet that it's NOTRIGGER that shortens the code path and not anything in TRIGTYPE.

But remember that TRIGTYPE is an enumeration. It can't have a value that is not in the enumeration and still be legal. So the enumeration has to have a "null" value of some kind.
Back to top
View user's profile Send private message
MQEnthu
PostPosted: Thu Feb 26, 2009 8:38 pm    Post subject: Reply with quote

Partisan

Joined: 06 Oct 2008
Posts: 329
Location: India

mqjeff wrote:
I'd bet that it's NOTRIGGER that shortens the code path and not anything in TRIGTYPE.





mqjeff wrote:
But remember that TRIGTYPE is an enumeration. It can't have a value that is not in the enumeration and still be legal. So the enumeration has to have a "null" value of some kind.


This might be the reason... Thank you
_________________
-----------------------------------------------
It is good to remember the past,
but don't let past capture your future
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 » attribute Trigger control setting
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.