Content resolution example with Spring Cloud Stream

Thanks Marc!

The sink example is helpful … and for “the simplest of examples”, would be great to see this be even simpler!

Instead of


channel.send(MessageBuilder.withPayload(new SensorReading("test", 50, BaseUnit.FAHRENHEIT)).build());

For example … with the help from above, this is what I am now doing with a StreamBridge


streamBridge.send("try-me", new PersonPOJO("Miles Archer"));