Writing Apache NMS in ABL 10.2B - Forum - OpenEdge Development - Progress Community
 Forum

Writing Apache NMS in ABL 10.2B

  • I've set myself an interesting project, to convert the ApacheMQ c# stomp client (http://activemq.apache.org/nms/) into ABL. This will hopefully #1) give me some insight into how c# and classes work, #2) how to convert c# into ABL, #3)  to write (another) STOMP client, and #4) make it usable by all progress clients.

    To that end, I'm going to need a lot of hand-holding wuth c# and objects - but hopefully will throw up a lot of examples for others to follow. I'm also going to probably have to provide a number of classes in ABL that are present in .net in order to achieve #4

    #1. "BinaryWriter"  (http://msdn.microsoft.com/en-us/library/system.io.binarywriter.aspx). Can I make my own class of binary writer by using OUTPUT BINARY ?

  • #1. "BinaryWriter"Â (http://msdn.microsoft.com/en-us/library/system.io.binarywriter.aspx). Can I make my own class of binary writer by using OUTPUT BINARY ?

    Probably not in such a generic way as with .NET streams. A .NET stream can read and write to/from more than just a disk file. There is for instance an implementation that writes to memory (System.IO.MemoryStream).

    AFAIK an ABL stream can't do so (except with a RAM disk).

    That would certainly affect performance for a messaging adapter.

  • How did you do?

    How was it?

    Did you make it?