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 » How to start channel automatic

Post new topic  Reply to topic
 How to start channel automatic « View previous topic :: View next topic » 
Author Message
Le_Quang_Hoa
PostPosted: Tue Jun 07, 2005 5:54 am    Post subject: How to start channel automatic Reply with quote

Apprentice

Joined: 14 May 2005
Posts: 29
Location: Viet nam

Dear all

I install MQ 5.3 in Window 2003


This problem is my channel will stop :

In Event Viewer:

Quote:

Disconnect interval expired.
Channel 'QM_CORE.TO.QM_BRIDGE' closed because no messages arrived on the transmission queue within the disconnect interval period.



then if my program put a message into transmission queue , it Queue Manager can not send message to Destination queue on Remote Manager
If I start channel again (QM Explorer), that message will be send to destination queue on Remote Queue manager.
So I want any time I put message into transmission queue it auto send this message without start channel again
Any one can show me the way??
Thanks
_________________
Le Quang Hoa (Mr)
Email :hoa.lequang@gmail.com
YM: hoalq98
Ha noi City - Viet Nam
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Tue Jun 07, 2005 5:58 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can set your channel up to be triggered.

See the Intercommunications manual- Chapter 2, "Triggering Channels" for specific, step by step instructions.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Tue Jun 07, 2005 6:09 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Set the attributes on the xmitq defined on the SDR channel:

TRIGGER TRIGTYPE(FIRST) INITQ(SYSTEM.CHANNEL.INITQ)

When a msg is put to the xmitq, i.e. it is put to a remote queue which has the xmitq set in its attributes, the channel will start automatically.
Back to top
View user's profile Send private message
Le_Quang_Hoa
PostPosted: Tue Jun 07, 2005 6:27 am    Post subject: Reply with quote

Apprentice

Joined: 14 May 2005
Posts: 29
Location: Viet nam

Thanks for reply , it running well
_________________
Le Quang Hoa (Mr)
Email :hoa.lequang@gmail.com
YM: hoalq98
Ha noi City - Viet Nam
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
c4delta
PostPosted: Thu Jun 09, 2005 3:35 pm    Post subject: Reply with quote

Novice

Joined: 07 Jun 2005
Posts: 13

Any idea how to start a channel automatically when MQ starts up? Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jun 09, 2005 4:36 pm    Post subject: Reply with quote

Grand High Poobah

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

What is your business case ?

a) have the channel be triggered
b) have it no be in stopped status at shutdown...
c) make sure there is a chinit running on the channel initq.

??
Back to top
View user's profile Send private message Send e-mail
kevinf2349
PostPosted: Thu Jun 09, 2005 5:14 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
Any idea how to start a channel automatically when MQ starts up? Thanks.


Yep...trigger it.

Or you could issue the start command in a bat file (or in the insh deck if z/OS, or a script on other platforms)

As fjb_saper says the business needs and SLA's should decide the best method. There has been extensive discussion of the pros and cons of controlling channels in these forums (a search should provide lots of hits).

I am firmly in the trigger camp but if the business need drives me to have channels active as soon as possible then I would have a start up script.

Hope this helps
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 » How to start channel automatic
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.