Details

      Description

      currently, we use atmibroker-hybrid/BufferConverterImpl.h to convert buffer but it is not pluggable at the moment.

      class BufferConverterImpl

      { static char* convertToWireFormat(char* bufferType, char* bufferSubtype, char* memoryFormatBuffer, long* wireFormatBufferLength); static char* convertToMemoryFormat(char* bufferType, char* bufferSubtype, char* wireFormatBuffer, long* memoryFormatBufferLength); }

      ;
      Here, convertToWireFormat is the equivalent of encode, and convertToMemoryFormat is the equivalent of decode.

      we will support more coding implementations in blacktie, such as xml and binary protocol buffer.
      the interface should probably be:
      interface Codec

      { function encode(); function decode(); ... }

      the codec must be defined at the "Service" level, rather than an individual tpcall.
      Remember that not all encodings will be compatible with ESB, in particular, any none-text one will probably not be routable.
      note, it should work both in C++ and Java

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                zhfeng Amos Feng
                Reporter:
                zhfeng Amos Feng
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: