Its a Spring Integration application.I have a requirement where I need to persist to DB and then post to Queue/Topic. This should be part of a single transaction. I am planning to use the JTATransactionManager. Application Server is Tomcat. Would someone please provide some sample configuration code required for this implementation.
相关问题
- Spring Integration - Inbound file endpoint. How to
- Spring Integration Kafka vs Spring Kafka
- Spring Cloud Stream + Quartz
- Tcp connection with Spring Integration framework
- How can I map incoming headers as String instead o
相关文章
- Multiple channel's message comes into single c
- Subset of changes from transaction sometimes not v
- @MessagingGateway, Spring Cloud Stream, and error
- Spring Integration - Reliable TCP for high volume
- Spring integration move file after processing
- Spring Integration - writing to a error queue when
- Need to process multiple files in parallel in Spri
- Group received messages in RabbitMQ, preferably us
You need a third party stand-alone XA transaction manager such as Atomikos. Tomcat doesn't have one.
You might also consider alternatives to using full-blown 2pc.