• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB database Polling  RSS feed

 
James Clarke
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to implement an ejb that polls on a database table and when an insert/update/delete occurs, I would like to send a JMS message to an external JMS provider..

Can someone give me some suggestions/ideas on how I can go about this ?

thanks in advance,

J.T
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about implementing it on the database side, like triggers that call amd send a message, most databases today has some form of messaging that can be done.

I just hope it is not a highly transactional data table that changes a lot and sends way too many messages.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!