Skip to content

Commit

Permalink
Added @bean(initMethod = "initialize") to deal with Spring 3/@PostCon…
Browse files Browse the repository at this point in the history
  • Loading branch information
cer committed May 8, 2023
1 parent f98a19d commit 2e8071d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public CustomerCommandHandler customerCommandHandler(CustomerService customerSer
return new CustomerCommandHandler(customerService);
}

@Bean
@Bean(initMethod = "initialize")
public ReactiveCommandDispatcher consumerCommandDispatcher(CustomerCommandHandler target,
ReactiveSagaCommandDispatcherFactory sagaCommandDispatcherFactory) {

Expand Down

0 comments on commit 2e8071d

Please sign in to comment.