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 » WebSphere Message Broker (ACE) Support » Can we initiate a message flow from Database

Post new topic  Reply to topic
 Can we initiate a message flow from Database « View previous topic :: View next topic » 
Author Message
omerakhter
PostPosted: Mon May 25, 2009 10:40 pm    Post subject: Can we initiate a message flow from Database Reply with quote

Novice

Joined: 19 May 2009
Posts: 22

Hi,

I have a scenario where I have to read some records to create a message which is then transformed and is sent to a web service...

My question is that I could find any node which could start the message flow from database... I mean like MQInput or FileInput; a node that keeps on polling the source and generates a message to initiate the message flow whenever source is available.

I think may be polling a database table is not exactly feasible that is why such a node is not available. But can anyone advise some good way to do this?

Thanks
Back to top
View user's profile Send private message
sarat
PostPosted: Mon May 25, 2009 10:45 pm    Post subject: Reply with quote

Centurion

Joined: 29 Jun 2005
Posts: 136
Location: India

Hi omerakhter,

Trigger the flow with a dummy message by putting on MQInput node queue.. Read the records from either compute or database nodes and create the xml
_________________
With Regards,
Sarat.
Back to top
View user's profile Send private message
sankritya
PostPosted: Mon May 25, 2009 10:55 pm    Post subject: Reply with quote

Centurion

Joined: 14 Feb 2008
Posts: 100

You can use Timeout Notification by setting a configurable time ...
Back to top
View user's profile Send private message
Maximreality
PostPosted: Tue May 26, 2009 1:56 am    Post subject: Re: Can we initiate a message flow from Database Reply with quote

Acolyte

Joined: 04 Jun 2004
Posts: 65
Location: Copenhagen

If you have the JDBC adapter it can be used for this scenario (it can listen for new entries and then create an MQ message)

You can also make your own listener program using af messageflow and the timernode
Back to top
View user's profile Send private message
omerakhter
PostPosted: Wed May 27, 2009 9:21 pm    Post subject: Reply with quote

Novice

Joined: 19 May 2009
Posts: 22

I found out that it is possible to put records in AQ from oracle tables using a trigger. From there, we can put these records in MQ.

But for all this to work, we need Oracle Messaging Gateway(OMG) to be configured and started. Anybody knows a simple step by step procedure to do this? I'm stuck in configuring OMG.
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 » WebSphere Message Broker (ACE) Support » Can we initiate a message flow from Database
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.