industrial-data-space / idscp2-jvm

Kotlin implementation of the IDS Communication Protocol (IDSCP2) for use in JVM environments.
Apache License 2.0
5 stars 3 forks source link

header #5

Closed jlangkau closed 2 years ago

jlangkau commented 3 years ago

https://github.com/industrial-data-space/idscp2-java/blob/c98917b6a3e8e6aa0583d1a1c009dba86a96546c/idscp2-app-layer/src/main/proto/idscp2-app.proto#L21

...a little more exrpessive:


message FuaHeader {
    string name = 1;
    string value = 2;
}

message FuaMessage {
    repeated FuaHeader header = 1;
    bytes payload = 2;
}
milux commented 2 years ago

This has been done quite a while ago, recent versions since at least 0.8.0 have a new message type with that functionality. Can also be utilized via new parameters of the Apache Camel component, although not documented yet.