简体   繁体   中英

calling JMS APIs using mysql

I have an application using MySQL 5.5 db in a windows machine and a JVM running on a linux machine. I want to send JMS messages to the JVM from mysql when a value is inserted in one of the tables. I have seen that we can configure openjms with mysql but, how to we use it to call the JMS APIs ?

Openjms requires a substrate for holding messages - this is where mysql comes into the picture - MySQL has no functionality to call java / create messages. Although it would in principe be possible to insert directly into the message queue using mysql this is a really bad idea.

You need to implement some code (most likely in Java) to capture the event and create a message.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM