We have planning to replace the message queue for the application in our company. We are planning to use JBossMQ messaging. We are suppose to send and receive message into JBossMQ message Queue using C language since the business logic is written in C. We have considered the following options.
1. Use REST API's to talk with message queue.
2. The C libraies can be used to send and receive http get and post requests and the server side logic can read/write into message queue.
3. Use JNI to talk with message queue.
4. I read like each application server has its own C/C++ interface API's for message queues. I googled for JBossMQ c interface API's and couldn't find any C interface API's.
what are the other options available to communicate with message Queue? which of the above is the best option? Please post your expereinces with c program talking with message queues.