@AutoConfiguration @ConditionalOnBean(value=javax.sql.DataSource.class) @EnableConfigurationProperties(value=TokenStoreProperties.class) @AutoConfigureAfter(value={JpaAutoConfiguration.class,JpaEventStoreAutoConfiguration.class}) @AutoConfigureBefore(value=AxonAutoConfiguration.class) public class JdbcAutoConfiguration extends Object
Constructor and Description |
---|
JdbcAutoConfiguration(TokenStoreProperties tokenStoreProperties) |
public JdbcAutoConfiguration(TokenStoreProperties tokenStoreProperties)
@Bean @ConditionalOnMissingBean(value={EventStorageEngine.class,EventSchema.class,EventStore.class}) public EventSchema eventSchema()
@Bean @ConditionalOnMissingBean(value={EventStorageEngine.class,EventBus.class,EventStore.class}) public EventStorageEngine eventStorageEngine(Serializer defaultSerializer, PersistenceExceptionResolver persistenceExceptionResolver, @Qualifier(value="eventSerializer") Serializer eventSerializer, Configuration configuration, ConnectionProvider connectionProvider, TransactionManager transactionManager, EventSchema eventSchema)
@Bean @ConditionalOnMissingBean(value={PersistenceExceptionResolver.class,EventStore.class}) public PersistenceExceptionResolver jdbcSQLErrorCodesResolver()
@Bean @ConditionalOnMissingBean public ConnectionProvider connectionProvider(DataSource dataSource)
@Bean @ConditionalOnMissingBean(value={TokenStore.class,TokenSchema.class}) public TokenSchema tokenSchema()
@Bean @ConditionalOnMissingBean(value=TokenStore.class) public TokenStore tokenStore(ConnectionProvider connectionProvider, Serializer serializer, TokenSchema tokenSchema)
@Bean @ConditionalOnMissingBean(value={SagaStore.class,SagaSqlSchema.class}) public JdbcSagaStore sagaStoreNoSchema(ConnectionProvider connectionProvider, Serializer serializer)
@Bean @ConditionalOnMissingBean(value=SagaStore.class) @ConditionalOnBean(value=SagaSqlSchema.class) public JdbcSagaStore sagaStoreWithSchema(ConnectionProvider connectionProvider, Serializer serializer, SagaSqlSchema schema)
@Bean @ConditionalOnMissingBean public DeadLetterSchema deadLetterSchema()
@Bean @ConditionalOnMissingBean public DeadLetterQueueProviderConfigurerModule deadLetterQueueProviderConfigurerModule(EventProcessorProperties eventProcessorProperties, ConnectionProvider connectionProvider, TransactionManager transactionManager, DeadLetterSchema schema, @Qualifier(value="eventSerializer") Serializer eventSerializer, Serializer genericSerializer)
Copyright © 2010–2024. All rights reserved.