This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 717793a Avoid usage of deprecated io.quarkus.arc.AlternativePriority
717793a is described below
commit 717793aea97e41e9b3368f9d04fe29c165e689c4
Author: James Netherton <[email protected]>
AuthorDate: Mon Jan 10 08:54:45 2022 +0000
Avoid usage of deprecated io.quarkus.arc.AlternativePriority
---
.../camel/quarkus/component/jta/MockTransactionManagerProducer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MockTransactionManagerProducer.java
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MockTransactionManagerProducer.java
index ff31495..62d74cd 100644
---
a/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MockTransactionManagerProducer.java
+++
b/extensions/jta/deployment/src/test/java/org/apache/camel/quarkus/component/jta/MockTransactionManagerProducer.java
@@ -22,14 +22,14 @@ import javax.enterprise.inject.Produces;
import javax.inject.Singleton;
import javax.transaction.TransactionManager;
-import io.quarkus.arc.AlternativePriority;
+import io.quarkus.arc.Priority;
import org.mockito.Mockito;
@ApplicationScoped
public class MockTransactionManagerProducer {
@Alternative
- @AlternativePriority(1)
+ @Priority(1)
@Produces
@Singleton
public TransactionManager transactionManager() {