Commit 704b5fb2 authored by Andy Wilkinson's avatar Andy Wilkinson

Enable encoding of message/x.rsocket.routing.v0 requests

Closes gh-17135
parent 4fd389df
......@@ -62,7 +62,7 @@ public class RSocketStrategiesAutoConfiguration {
builder.reactiveAdapterStrategy(ReactiveAdapterRegistry.getSharedInstance());
customizers.orderedStream().forEach((customizer) -> customizer.customize(builder));
builder.decoder(StringDecoder.textPlainOnly());
builder.encoder(CharSequenceEncoder.textPlainOnly());
builder.encoder(CharSequenceEncoder.allMimeTypes());
builder.dataBufferFactory(new NettyDataBufferFactory(PooledByteBufAllocator.DEFAULT));
return builder.build();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment