neoxu999 opened a new issue #3054:
URL: https://github.com/apache/camel-quarkus/issues/3054


   JdbcAggregationRepository requires  
org.springframework.transaction.jta.JtaTransactionManager;
   
   The spring requires spring-text. So when build the app, it will show an error
    Caused by: java.lang.NoClassDefFoundError: 
org/springframework/jndi/JndiTemplate
    
   ```
    JdbcAggregationRepository aggregationRepository = new 
JdbcAggregationRepository(
                   new JtaTransactionManager(userTransaction, tm), 
"aggregation", dataSource);
                   
                   
   .aggregate(constant(true),new 
MyAggregationStrategy()).completionSize(5).aggregationRepository(aggregationRepository)
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to