Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Este conteúdo não está disponível no idioma selecionado.
6.3. Accessing the Transaction Manager
Overview Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
The easiest way for an application to access the Aries transaction manager inside the OSGi container is to create a bean reference to the OSGi service using Blueprint XML. In fact, you typically need to reference two OSGi services: the JTA transaction manager and the Spring
PlatformTransactionManager
. These two services access the same underlying transaction manager, but use alternative wrapper layers (see Figure 6.1, “OSGi Transaction Architecture”).
Blueprint XML Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
In blueprint XML, you can get bean references to the JTA transaction manager instance and to the Spring
PlatformTransactionManager
instance using the following sample code: