C ++ JMS Client or SOAP C ++ / C Client

I have a C ++ application, but it needs to "talk" to the Java messaging service. In the past, we used WebSphere MQ and used their C ++ libraries for "speakers".

So, I am looking for (ideally) a free C ++ Java solution that does not contain all the JVMs in memory.

Another option I reviewed is SOAP. I looked at Axis2-C, but it gives me an entire server implementation that I don't need. I saw gSOAP talk, but saw mixed comments here. And again it seems that I am providing me with a whole server.

I could write the code myself, but this contradicts my (Java-based) belief that there is great free code there.

Thank! A'z

+3
source share
3 answers

There are a few points here that make no sense to me; JMS is a specific java abstraction for a generic messaging API, just like JDBC is a specific java abstraction for a generic database API.
I can’t imagine that someone wants to use the JDBC driver for a C ++ application, they rather use the ODBC driver.

So, if I assume that your goal is to send messages without using Websphere MQ from a C ++ application, then I can recommend you consider the following:

  • Do you need asynchronous messaging? that is, keep the message in the queue until the message is consumed?
  • , - , - .

, Java JMS WebServices.
ActiveMQ , JMS API, STOMP, , ++.

, , , - Mule.
Mule, . ActiveMQ WebService WebService ActiveMQ. , - SOAP JMS, JMS SOAP.

ESB- , :

EDIT: , :

  • , ++ Java, ActiveMQ.
  • / , , ActiveMQ SonicMQ .

2.1 , Sonic, ESB, /, .

3 , Sonic C ++:
 - http://www.sonicsoftware.com/products/docs/sonicmq_app_server_ds.pdf
 - http://www.sonicsoftware.com/developer/documentation/docs/sonicmq_c_v60.pdf
 - http://communities.progress.com/pcom/servlet/JiveServlet/download/10809-3-10161/cclients_readme_76.htm ( mime )

+5

SonicMQ , ++.

, .

0

There are C ++ libraries for SonicMQ. The main limitation is that you must use the same assembly (i.e. STL libraries, etc.) that Sonic used to compile the libraries.

http://web.progress.com/en/sonic/sonicmq-clients.html

Of course, you asked this question six months ago, so this information is probably a bit late. :-)

0
source

Source: https://habr.com/ru/post/1766726/


All Articles