What is the best way to implement a generic database which monitor a table and trigger an event(ws-event) when the table get updated. Is there any standard way to do this?
Asked
Active
Viewed 159 times
1
-
A standard way to do this would be to use some kind of message queue mechanism. Most databases have somekind of message queue built in. – Nick.Mc Nov 22 '13 at 03:07
1 Answers
2
I think you are looking for a database table trigger:
http://www.sqlteam.com/article/an-introduction-to-triggers-part-i

collusionbdbh
- 701
- 1
- 6
- 18
-
Thank you soo much for your reference.. Do you have a sample where it send messages to a JMS Que (ie mysql event trigger) when an insertion happen – poohdedoo Nov 22 '13 at 04:00
-