ARTEMIS-4238 deprecate transactionTimeout activation config prop

This commit is contained in:
Justin Bertram 2023-04-13 10:38:40 -05:00
parent c5be8b72c1
commit 903e5888af
2 changed files with 7 additions and 0 deletions

View File

@ -120,6 +120,7 @@ public class ActiveMQActivationSpec extends ConnectionFactoryProperties implemen
/**
* Transaction timeout
*/
@Deprecated(forRemoval = true)
private Integer transactionTimeout;
private Boolean useJNDI = true;
@ -620,6 +621,7 @@ public class ActiveMQActivationSpec extends ConnectionFactoryProperties implemen
*
* @return The value
*/
@Deprecated(forRemoval = true)
public Integer getTransactionTimeout() {
logger.trace("getTransactionTimeout()");
@ -631,6 +633,7 @@ public class ActiveMQActivationSpec extends ConnectionFactoryProperties implemen
*
* @param value The value
*/
@Deprecated(forRemoval = true)
public void setTransactionTimeout(final Integer value) {
logger.trace("setTransactionTimeout({})", value);

View File

@ -58,6 +58,10 @@ Highlights:
at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:144)
at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:61)
```
* Due to [ARTEMIS-3707](https://issues.apache.org/jira/browse/ARTEMIS-3707) all use of `javax.transaction.TransactionManager`
was removed from the JCA Resource Adapter. However, this rendered the `transactionTimeout` activation configuration
property useless. Some existing users rely on this behavior so it has been restored and properly deprecated for future
removal.
## 2.28.0
[Full release notes](https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12352523&projectId=12315920)