MessagePackPostExecuter

Prev Next

Class name

com.ebd.hub.datawizard.postexec.MessagePackPostExecuter

Description

This post-executor can generate a MessagePack message (binary).

No configuration is necessary.

Example

Use the following JSON file as the input file for a profile without mapping.

{
  "name" : "Alice",
  "age" : 30,
  "email" : "alice@example.com",
  "active" : true
}

Then create a Response of type “File” (with file name “simple.msgpack”) that uses the JSON input file as content, and use the MessagePackPostExecuter.

As a result, you should receive the following file.

simple
49 Byte

Of course, you can also create the JSON file yourself using the ExtendedJsonCreationUnit.