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 » Auto start channel when a message coming.

Post new topic  Reply to topic
 Auto start channel when a message coming. « View previous topic :: View next topic » 
Author Message
zlj
PostPosted: Mon Nov 17, 2008 12:26 am    Post subject: Auto start channel when a message coming. Reply with quote

Apprentice

Joined: 13 Nov 2008
Posts: 32

I am so sorry for I have so many questions. I have read another topic about this, but I need more help.

I have some general idea.

1.Define a transfer queue with trigger.
2.Open trigger, Set type to every,depth to 1.

That is all I know.
Should I define a service for trigger?

Help me please.
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Nov 17, 2008 2:06 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

On the definition of your XMITQ ensure that you have:

TRIGGER +
TRIGTYPE(FIRST) +
INITQ('SYSTEM.CHANNEL.INITQ') +
TRIGDATA('<CHANNEL NAME>')

Take the time to read the manuals regarding triggering channels.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
zlj
PostPosted: Mon Nov 17, 2008 5:42 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2008
Posts: 32

exerk wrote:
On the definition of your XMITQ ensure that you have:

TRIGGER +
TRIGTYPE(FIRST) +
INITQ('SYSTEM.CHANNEL.INITQ') +
TRIGDATA('<CHANNEL NAME>')

Take the time to read the manuals regarding triggering channels.


Thank you very much first of all!

If I dont want to use SYSTEM.CHANNEL.INITQ, how can I define a customer INITQ?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Nov 17, 2008 7:22 pm    Post subject: Reply with quote

Grand High Poobah

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

Any (local) queue will do as long as you run a channel initiator against it.
the intercommunications manual will give you all the clues
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Tue Nov 18, 2008 1:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

zlj wrote:
If I dont want to use SYSTEM.CHANNEL.INITQ, how can I define a customer INITQ?


Why would you not want to use the 'default' initiation queue? Why add in complexity?

fjb_saper wrote:
Any (local) queue will do as long as you run a channel initiator against it.

_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
zlj
PostPosted: Tue Nov 18, 2008 5:28 pm    Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2008
Posts: 32

exerk wrote:

Why would you not want to use the 'default' initiation queue? Why add in complexity?

I have a MQ server which needs to send message to handred client, so I have the same number remote queue and XMITQ. Should I use SYSTEM.CHANNEL.INITQ support so many XMITQ?

fjb_saper wrote:

Any (local) queue will do as long as you run a channel initiator against it.

I defined a local queue named CLInitQ, then change the defination of XMITQ, typing INITQ with 'CLInitQ' instead of SYSTEM.CHANNEL.INITQ. When I send a message with a remote queue through XMITQ, channel
was not auto started at all.
Do I miss something?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 18, 2008 9:16 pm    Post subject: Reply with quote

Grand High Poobah

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

You missed a lot of things.
  1. an initq queue can start multiple channels
  2. to start any channels you need to run a channel initiator. The qmgr does that at startup for the SYSTEM.CHANNEL.INITQ
  3. you have successfully created an alternate channel initq but you did not specify that you ever started a channel initiator against it. So why should it work?
  4. the default number of channel initiators a qmgr will accept is limited at 3
  5. the main reason to deviate from the default is to run the channel initiator under a non mqm id.
  6. The second reason to run an additional channel initiator is to load balance the start of channels across multiple initiators on a very busy qmgr with a very short chl idle before shutdown time. I would expect to see this kind of need only in a very unstable network environment

intercommunications manual

Have fun
_________________
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 » Auto start channel when a message coming.
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.