This is another of the pattern in the integration pattern series. Again, one of my favorites. The reason I love this pattern is because of the power of the same. Message translator lets two system integrate with each other without knowing each other format needs.
Message translator is just another component in between sender application sending the message and receiver application receiving the message. What it does? It just take oranges from one end and gives juice to another end and vice-versa. I know, in real juice to oranges is not possible but that is the power of this component. It can make this happen.
Above diagram shows how the message translator is embedded in the communication pattern. There are various technologies that can be used to implement this with JMS like – Spring, XSLT etc.
I personally love Springs because of the configuration and ease of injecting any new module in between the flow.
Hope you like it! Please share your thoughts and ideas.