Skip to content

Commit

Permalink
Use Message instead of payload in FunctionInvocationWrapper for Conne…
Browse files Browse the repository at this point in the history
…ctorBinding
  • Loading branch information
jsokolowskii committed Jan 5, 2023
1 parent 7f92519 commit b190863
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public Object postProcessAfterInitialization(Object bean, String beanName) throw

GenericHandler<Message> handler = (message, headers) -> {
FunctionInvocationWrapper function = functionFromDefinition(beanName);
Object result = function.apply(message.getPayload());
Object result = function.apply(message);

Message<?> response = null;
if(result != null) {
Expand Down

0 comments on commit b190863

Please sign in to comment.