|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Polling from a Broker |
« View previous topic :: View next topic » |
Author |
Message
|
pottas |
Posted: Sat Sep 08, 2007 2:29 am Post subject: Polling from a Broker |
|
|
 Disciple
Joined: 27 Oct 2005 Posts: 185 Location: South Africa
|
Hi,
I am running the following configuration on Windows(XP) :
Message Broker Toolkit: 6.0.2, Interim Fix 8
Message Broker: MQSI 6.0.0.5
File Extender Support Pack v5
I have the following scenario:
The client wants to put processed records to a DB2 database. When all his records are loaded into the database, he wants a Broker Message Flow to kick off and read the records from the database - without putting a message to an MQ queue to invoke the flow or putting a file to a location in order for File extender to invoke a flow. It basically boils down to a (sort of) polling solution. He wants Broker to poll the database and invoke a flow based on the records in the database.
I considered using a java program that polls the datbase and once it finds something, invoke the flow via MQ or File extender. The other option (which I am not too comfortable with) is to put a message on the queue, invoke a flow that interrogates the database, waits for x seconds and puts the message on the same queue again...
OK, I know it sounds weird, but do any of you perhaps have some ideas around this?
Thanks, appreciated. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Sep 08, 2007 4:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This is exactly the design pattern, and about the only one, that the JDBC Adapter is useful for.
But you can use Timeout nodes instead. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|