1

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?

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. Commented Nov 22, 2013 at 3:07

1 Answer 1

2

I think you are looking for a database table trigger:

http://www.sqlteam.com/article/an-introduction-to-triggers-part-i

Sign up to request clarification or add additional context in comments.

2 Comments

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
Sorry, I have never used JMS myself.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.