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 » Modifying a channel for triggering

Post new topic  Reply to topic
 Modifying a channel for triggering « View previous topic :: View next topic » 
Author Message
sysera
PostPosted: Thu Jun 30, 2005 10:36 am    Post subject: Modifying a channel for triggering Reply with quote

Acolyte

Joined: 20 May 2005
Posts: 53

Hello all,
I discussed channel triggering vs. starting a channel from the command line a while ago here. I still may use the command line, but I was wondering if someone would be kind enough to show an example of modifying an existing channel to be triggered upon messages being sent to it?

Thanks guys. (Hehe, I have IBM Websphere MQ training scheduled for next month, but I kinda would like to know how beforehand.)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 30, 2005 10:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There are explicit, step by step instructions, with detailed explanations, in the Intercommunications manual.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
sysera
PostPosted: Thu Jun 30, 2005 11:09 am    Post subject: Reply with quote

Acolyte

Joined: 20 May 2005
Posts: 53

jefflowrey wrote:
There are explicit, step by step instructions, with detailed explanations, in the Intercommunications manual.


Cool, I will look through that again. I read it about two months ago and of course didn't retain everything.
Back to top
View user's profile Send private message
csmith28
PostPosted: Thu Jun 30, 2005 2:25 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Actully you won't be "Modifying a channel for triggering" you will be modifying an XMITQ for triggering. I am assuming you want a Sender Channel to start when a message arrives on it.

I normally use the following:

* define/alter ql(QUEUENAME) +
INITQ(SYSTEM.CHANNEL.INITQ) +
TRIGDATA(SDR.CHANNEL.NAME) +
MSGDLVSQ(FIFO) +
USAGE(XMITQ) +
TRIGGER +
TRIGTYPE(FIRST) +
TRIGDEPTH(1) +
REPLACE

On a Unix platform put the above into a file after modifying the generic values to match your Queue & SDR Channel names.

* Use define to create a new XMITQ/alter to modifiy and existing QLocal.

Then you will want to have a look at your Sender Channel Retry and Disconnect interval values.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
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 » Modifying a channel for triggering
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.