eventuate-tram / eventuate-tram-core

Transactional messaging for microservices
Other
1.05k stars 186 forks source link

Spring/Micronaut specific code should not use EventuateTransactionTemplate #147

Open cer opened 3 years ago

cer commented 3 years ago

Not sure why https://github.com/eventuate-tram/eventuate-tram-core/commit/bddf3e4b2760b9ce174188ccaa853eaa11a805a8 made this change.

For example,

@Configuration
public class TransactionalNoopDuplicateMessageDetectorConfiguration {

  @Bean
  public DuplicateMessageDetector duplicateMessageDetector(EventuateTransactionTemplate eventuateTransactionTemplate) {
    return new TransactionalNoopDuplicateMessageDetector(eventuateTransactionTemplate);
  }
}

Related to #146