ActiveMQ publisher and subscriber in multiple languanges(C++ Java) -


I want to use ActiveMQ as a process broker, which has two processes between the C ++ component and the Java process Communicates in. for example. C ++ is a component publisher and a Java component client (there may be many members) I look at the ActiveMQ website and mention it in Tools OpenWire and ActiveMQ-CPP. However, all examples on the website are using the same language for both the manufacturer and the consumer.

My questions are:

1. Can the MQ of active users work in different languages?

2. In various processes?

Lily

= "text">

OpenWire is a protocol and therefore Theoretically can be applied anywhere, but this does not mean that there is complete implementation for every language. The fine print of the C ++ client says:

"According to version 2.0, Active MQ-CPP supports OpenWire V2 protocol with some exceptions. Object message - Can not vest in an ObjectMessage in C ++, so if your application subscribes to a queue or topic in which the object message has been sent, you will receive the message, but an object does not receive it

So if you want to send data to all the processes, you write your C ++ and Java components to use the API (make sure you use the Ostemes Type , You are still using active MQ-CPP). Then run ActiveMQ server ... tell your program to connect it, and it should work.

But if you are actually trying to communicate interpreses while controlling only two others, then this is a little heavy hand in response to you and


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -