openmessaging / openmessaging-java

OpenMessaging Runtime Interface for Java
http://openmessaging.cloud/
Apache License 2.0
723 stars 220 forks source link

KeyValue data type problems #29

Closed vongosling closed 6 years ago

vongosling commented 6 years ago
  1. Too many keyvalue params in the standard API
  2. keyvalue is a weak datatype, but in messaging field, we usually use the base pre-defined properties and headers. some example like this:

new OMS.BaseProperties.Builder().deliveryMode().priority().build(). new OMS.BaseProperties.Builder().headers().build().

vongosling commented 6 years ago

@duhengforever