Remove Narayana support
The Spring Boot integration is now handled by the Narayana project itself at https://github.com/snowdrop/narayana-spring-boot This commit removes our support. Closes gh-12026
This commit is contained in:
@@ -917,21 +917,6 @@ content into your application. Rather, pick only the properties that you need.
|
||||
spring.jta.bitronix.properties.skip-corrupted-logs=false # Skip corrupted transactions log entries.
|
||||
spring.jta.bitronix.properties.warn-about-zero-resource-transaction=true # Whether to log a warning for transactions executed without a single enlisted resource.
|
||||
|
||||
# NARAYANA ({sc-spring-boot}/jta/narayana/NarayanaProperties.{sc-ext}[NarayanaProperties])
|
||||
spring.jta.narayana.default-timeout=60s # Transaction timeout. If a duration suffix is not specified, seconds will be used.
|
||||
spring.jta.narayana.expiry-scanners=com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner # Comma-separated list of expiry scanners.
|
||||
spring.jta.narayana.log-dir= # Transaction object store directory.
|
||||
spring.jta.narayana.one-phase-commit=true # Whether to enable one phase commit optimization.
|
||||
spring.jta.narayana.periodic-recovery-period=120s # Interval in which periodic recovery scans are performed. If a duration suffix is not specified, seconds will be used.
|
||||
spring.jta.narayana.recovery-backoff-period=10s # Back off period between first and second phases of the recovery scan. If a duration suffix is not specified, seconds will be used.
|
||||
spring.jta.narayana.recovery-db-pass= # Database password to be used by the recovery manager.
|
||||
spring.jta.narayana.recovery-db-user= # Database username to be used by the recovery manager.
|
||||
spring.jta.narayana.recovery-jms-pass= # JMS password to be used by the recovery manager.
|
||||
spring.jta.narayana.recovery-jms-user= # JMS username to be used by the recovery manager.
|
||||
spring.jta.narayana.recovery-modules= # Comma-separated list of recovery modules.
|
||||
spring.jta.narayana.transaction-manager-id=1 # Unique transaction manager id.
|
||||
spring.jta.narayana.xa-resource-orphan-filters= # Comma-separated list of orphan filters.
|
||||
|
||||
# EMBEDDED MONGODB ({sc-spring-boot-autoconfigure}/mongo/embedded/EmbeddedMongoProperties.{sc-ext}[EmbeddedMongoProperties])
|
||||
spring.mongodb.embedded.features=sync_delay # Comma-separated list of features to enable.
|
||||
spring.mongodb.embedded.storage.database-dir= # Directory used for data storage.
|
||||
|
||||
@@ -5936,31 +5936,6 @@ property with a different value for each instance of your application.
|
||||
|
||||
|
||||
|
||||
[[boot-features-jta-narayana]]
|
||||
=== Using a Narayana Transaction Manager
|
||||
http://narayana.io/[Narayana] is a popular open source JTA transaction manager
|
||||
implementation supported by JBoss. You can use the `spring-boot-starter-jta-narayana`
|
||||
starter to add the appropriate Narayana dependencies to your project. As with Atomikos and
|
||||
Bitronix, Spring Boot automatically configures Narayana and post-processes your beans to
|
||||
ensure that startup and shutdown ordering is correct.
|
||||
|
||||
By default, Narayana transaction logs are written to a `transaction-logs` directory in
|
||||
your application home directory (the directory in which your application jar file
|
||||
resides). You can customize the location of this directory by setting a
|
||||
`spring.jta.log-dir` property in your `application.properties` file. Properties starting
|
||||
with `spring.jta.narayana.properties` can also be used to customize the Narayana
|
||||
configuration. See the
|
||||
{dc-spring-boot}/jta/narayana/NarayanaProperties.{dc-ext}[`NarayanaProperties` Javadoc]
|
||||
for complete details.
|
||||
|
||||
NOTE: To ensure that multiple transaction managers can safely coordinate the same
|
||||
resource managers, each Narayana instance must be configured with a unique ID. By
|
||||
default, this ID is set to `1`. To ensure uniqueness in production, you should configure
|
||||
the `spring.jta.transaction-manager-id` property with a different value for each instance
|
||||
of your application.
|
||||
|
||||
|
||||
|
||||
[[boot-features-jta-javaee]]
|
||||
=== Using a Java EE Managed Transaction Manager
|
||||
If you package your Spring Boot application as a `war` or `ear` file and deploy it to a
|
||||
|
||||
Reference in New Issue
Block a user