Add per-binding message type-conversion support

- For the message channels being created, set the corresponding `dataType` and `message-converters` based on the `contentType` value set per-binding
   - This is applicable for both direct-binding and the channels that connect to the binder
This commit is contained in:
Ilayaperumal Gopinathan
2015-09-28 10:28:00 -07:00
parent 638c18e490
commit 9a865a56d7
5 changed files with 93 additions and 10 deletions

View File

@@ -5,7 +5,9 @@ spring:
cloud:
stream:
bindings:
output: testtock
output:
destination: testtock
contentType: text/plain
# uncomment below to use the last digit of the seconds as a partition key
# hashcode(key) % N is then applied with N being the partitionCount value
# thus, even seconds should go to the 0 queue, odd seconds to the 1 queue