Hello, Ravi:
There are actually a lot of ways to do it. I do not know what a "Fix Message" is, but you can serialize things using:
* Object Output Stream / Object Input Stream (aka
Java Serialization)
* Google's Protobuf (with Protostuff for convenience).
* XML
* JSON
* Your own design
The first one requires Java, specifically. The next one requires interoperability with ProtoBuf (Java, C, etc.). The others you can use with any language. What you are doing in the last three cases is pushing a
string into the queue, and having both sides 'know' what to do with it and how to convert it.
I do not know what kind of queue you are looking at. But there are several queueing technologies out there. Another post on this site ponted me to
Queues IO, which has a long list.
Good luck.