Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a messaging service between Java and C++ such as JMS for Java to Java?

I am well aware of the Java Messaging Service (JMS) for sending messages from Java code to Java code. Also I am aware of CORBA which is a integration programming that helps in binding different programming languages together so that they can communicate between themselves through objects.

But I was wondering if there a common messaging service such as JMS for different languages so as to send a message from Java to C++ and vice versa.

like image 972
Galaxin Avatar asked Jan 16 '23 07:01

Galaxin


2 Answers

I'd highly recommend starting with ZeroMQ unless you need some of the features that a broker based architecture such as an implementation based on AMQP delivers (e.g. RabbitMQ).

ZeroMQ has lots of bindings including Java, C#, C++, C, however it is message based so transferring objects between different languages may better lend itself to something like OpenDDS. see Comparing OpenDDS and ZeroMQ Usage and Performance

Good examples of ZeroMQ implementations, from the basic to the complex; e.g.

Basic ZeroMQ Request ReplyZeroMQ Publish SubscribeComplex ZeroMQ Forwarder Proxy

like image 191
Richard Harrison Avatar answered Jan 21 '23 15:01

Richard Harrison


Take a look at RabbitMQ. It has a lot of bindings.

like image 36
Denis Novikov Avatar answered Jan 21 '23 14:01

Denis Novikov