Author |
Message
|
a269652 |
Posted: Fri May 31, 2002 2:17 am Post subject: Output Message Queue Settings Question |
|
|
Novice
Joined: 09 May 2002 Posts: 11
|
Does anyone know if it is possible to create a message queue that will for example; store received messages & only invoke a triggered process each 15 minutes that will be used to transfer the contents of the queue to a file (like a destructive get). Thanks in advance. |
|
Back to top |
|
 |
Coz |
Posted: Fri May 31, 2002 2:56 am Post subject: |
|
|
 Apprentice
Joined: 20 Feb 2002 Posts: 44 Location: Basel CH
|
No.
However you could go against the approved practice and write a Java node for example which sleeps for that length of time and then extracts the messages into a file.
We have a java node that does the opposite, iei takes a file and creates messages, which I am hoping a limited capability version will be made available to the users here for feedback. |
|
Back to top |
|
 |
devans |
Posted: Fri May 31, 2002 3:24 am Post subject: |
|
|
Apprentice
Joined: 18 Mar 2002 Posts: 43
|
You could probably use the Aggregate nodes to hold your messages in the broker database (rather than on a queue) and then use the timeout setting to trigger them to be delivered after 15 minutes. You could then process them in one big batch operation. |
|
Back to top |
|
 |
bh |
Posted: Fri May 31, 2002 3:39 am Post subject: |
|
|
Acolyte
Joined: 25 Jun 2001 Posts: 61
|
I, maybe, missunderstand the question but why not using a very simple solution such as a scheduler (At under NT or crontable on Unix) running a simple get program on the queue - where data have been written - and generating a file ?
It's a very esay solution and can be implemented by using triggering on MQ too.
Does it answer the need ?
Hope it can help. |
|
Back to top |
|
 |
a269652 |
Posted: Fri May 31, 2002 3:56 am Post subject: |
|
|
Novice
Joined: 09 May 2002 Posts: 11
|
Thanks everyone for your replies. bh, sadly we do not have a scheduler on the machine (clustered RS6000) & there is not much interest in configuring one, that was my favoured solution. Back to the design board ... |
|
Back to top |
|
 |
meekings |
Posted: Fri May 31, 2002 6:53 am Post subject: |
|
|
 Voyager
Joined: 28 Jun 2001 Posts: 86 Location: UK, South West
|
Couldn't you write a continuously running process that empties the queue and then sleeps for 15 minutes? Don't particularly like this solution, as the process could die and you wouldn't know.
What is the problem you're trying to solve? You've given us a potential solution, and asked for comments - with info about the problem itself, maybe someone could come up with a better solution? |
|
Back to top |
|
 |
|