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 control when to send messages from one Q to another?

Post new topic  Reply to topic
 How to control when to send messages from one Q to another? « View previous topic :: View next topic » 
Author Message
ividiva
PostPosted: Thu Nov 21, 2002 10:54 pm    Post subject: How to control when to send messages from one Q to another? Reply with quote

Newbie

Joined: 21 Nov 2002
Posts: 8

Hi,
Lets say , i have two qeue managers , QM1 and QM2. My application is connected to QM1, and is supposed to send messages to a queue in QM2.
But, i want to send the messages from QM1 to the queue in QM2 only at a particular time, though my application can continue posting messages.Can any one give an idea , how can i do this?..

Thanx a lot.
Mathews
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Thu Nov 21, 2002 10:58 pm    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

You can write a script that will start at the given time the sending channel end on QM1.
_________________
Marcin Grabinski <><
Back to top
View user's profile Send private message
ividiva
PostPosted: Fri Nov 22, 2002 2:16 am    Post subject: Reply with quote

Newbie

Joined: 21 Nov 2002
Posts: 8

But wut do i write in the Script? . Should i code the script for starting and stopping the channel between them?.
Back to top
View user's profile Send private message
mgrabinski
PostPosted: Fri Nov 22, 2002 4:40 am    Post subject: Reply with quote

Master

Joined: 16 Oct 2001
Posts: 246
Location: Katowice, Poland

It can look like this:

Code:

{wait until specified time}
runmqchl -c ChannelName -m QMgrName


In the channel definition code a low value for DISCINT, so that the channel shuts down few seconds/minutes after sending the last message
_________________
Marcin Grabinski <><
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 control when to send messages from one Q to another?
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.