@Override
    public void setSerializedPayloadClass(Class<?> payloadClass) {
        Assert.isTrue(byte[].class == payloadClass,
                () -> "Payload class must be byte[] : " + payloadClass);
    }
Fastjson(JSONB) for Spring Messaging Json Converter.

@author Victor.Zxy
@see MappingFastJsonMessageConverter
@since 2.0.5
extension-spring5/src/main/java/com/alibaba/fastjson2/support/spring/messaging/converter/MappingFastJsonJSONBMessageConverter.java