Specify Spring Cloud Stream Error Handlers though application configuration

Hi @giri

I get a nullpointer using stream bridge moving from 3.2.1 to 3.2.5.

NullPointerException: null

….CloudEventsFunctionInvocationHelper.postProcessResult(CloudEventsFunctionInvocationHelper.java:99)

….CloudEventsFunctionInvocationHelper.postProcessResult(CloudEventsFunctionInvocationHelper.java:48)

…StreamBridge.send(StreamBridge.java:237)

Is this the correct implementation as it will fail to autowire a bean of type ErrorMessage and other documentation is using a Consumer. Also i thought a bean would have to return an object