Background
I have two services that need to communicate with each other in a message queue. One of them is an outdated service written in PHP, and the other in Java. Sooner, later, the PHP service will be rewritten in Java. The current way to communicate with each other is to write to a shared database that another service is running. This is what I am trying to leave and replace with a message queue.
Problem
The connection I'm working with right now is the PHP service for the Java service. A relatively complex object (strings and integers and lists and maps of strings and integers) needs to be sent to him. Ideally, the solution will work in PHP and is ideal for Java, since it will be a legacy of this project.
Possible solutions
source
share