Este conteúdo não está disponível no idioma selecionado.

8.21. Transactions and the Action Pipeline


The action pipeline is capable of running either in a transaction or by itself. To perform the former, a service must have a JCA listener attached to it with the transact property set to true. It must also be told how to retrieve the TransactionManager when running in an application server. This can be accomplished by running JNDI look-up.
When working in the action pipeline, transactions can be rolled back during the commit phase which occurs after all the onSuccess methods of the actions are called. The entire pipeline can still fail and rollback during commit phase which would cause the message to retry the pipe.

Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo