Use dedicated task executor for @ApplicationModuleListener
s
#641
Labels
in: event publication registry
Event publication registry
type: enhancement
Major enhanvements, new features
@ApplicationModuleListener
s need dedicated control over theExecutor
running them, for example, to enable tracing context propagation in the observability module. To contain the impact of such a customization, it makes sense to use a dedicatedExecutor
.Implementation considerations
ThreadPoolTaskExecutor
/SimpleAsyncTaskExecutor
with a dedicated name and refer to that from the@Async
annotation on@ApplicationModuleListener
(@ConditionalOnThreading
,@ConditionalOnMissingBean
)References
TraceContext
propagation in observability auto-configuration #637The text was updated successfully, but these errors were encountered: