• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

QuickfixJ Message serialize and deserialize

 
Ranch Hand
Posts: 595
6
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am working on a task where I have to serialize and deserialize Fix Message to send it through a queue.

Is there any way to do it?
 
Ranch Hand
Posts: 270
15
Android Angular Framework Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic