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.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
6.3. Accessing the Transaction Manager
Overview 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
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 either Spring XML or 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”).
Spring XML 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
In Spring XML, you can get bean references to the JTA transaction manager instance and to the Spring
PlatformTransactionManager
instance using the following sample code:
Blueprint XML 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
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: