Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products

Table of contents

  1. Apache Karaf トランザクションガイド
  2. はじめに
  3. 多様性を受け入れるオープンソースの強化
  4. 1. トランザクションの概要
    1. 1.1. トランザクションとは
    2. 1.2. トランザクションの ACID プロパティー
    3. 1.3. トランザクションクライアント
    4. 1.4. トランザクション用語の説明
    5. 1.5. 複数のリソースを変更するトランザクションの管理
    6. 1.6. トランザクションとスレッドとの関係
    7. 1.7. トランザクションサービスの特性
      1. 1.7.1. リソースが提供するサービスの特性
        1. 1.7.1.1. トランザクション分離レベル
        2. 1.7.1.2. XA 標準のサポート
      2. 1.7.2. トランザクションマネージャーが提供するサービスの特性
        1. 1.7.2.1. 一時停止/再開およびアタッチ/デタッチのサポート
        2. 1.7.2.2. 複数リソースのサポート
        3. 1.7.2.3. 分散トランザクション
        4. 1.7.2.4. トランザクションの監視
        5. 1.7.2.5. 障害からの復旧
  5. 2. Karaf (OSGi) でのトランザクションの使用開始
    1. 2.1. 前提条件
    2. 2.2. camel-jms プロジェクトのビルド
    3. 2.3. camel-jms プロジェクトの説明
  6. 3. トランザクションマネージャーの設定および参照を行うインターフェイス
    1. 3.1. トランザクションマネージャーの機能
    2. 3.2. ローカル、グローバル、および分散トランザクションマネージャー
      1. 3.2.1. ローカルトランザクションマネージャー
      2. 3.2.2. グローバルトランザクションマネージャー
      3. 3.2.3. 分散トランザクションマネージャー
    3. 3.3. JavaEE トランザクションクライアントの使用
    4. 3.4. Spring Boot トランザクションクライアントの使用
      1. 3.4.1. Spring PlatformTransactionManager インターフェイスの使用
        1. 3.4.1.1. PlatformTransactionManager インターフェイスの定義
        2. 3.4.1.2. TransactionDefinition インターフェイス
        3. 3.4.1.3. TransactionStatus インターフェイスの定義
        4. 3.4.1.4. PlatformTransactionManager インターフェイスで定義されるメソッド
      2. 3.4.2. トランザクションマネージャーの使用手順
      3. 3.4.3. Spring PlatformTransactionManager 実装
        1. 3.4.3.1. ローカル PlatformTransactionManager 実装
        2. 3.4.3.2. グローバル PlatformTransactionManager 実装
    5. 3.5. トランザクションクライアントとトランザクションマネージャー間の OSGi インターフェイス
  7. 4. Narayana トランザクションマネージャーの設定
    1. 4.1. Narayana のインストール
    2. 4.2. サポートされているトランザクションプロトコル
    3. 4.3. Narayana 設定
    4. 4.4. ログストレージの設定
  8. 5. Narayana トランザクションマネージャーの使用
    1. 5.1. UserTransaction オブジェクトの使用
      1. 5.1.1. UserTransaction インターフェイスの定義
      2. 5.1.2. UserTransaction メソッドの説明
    2. 5.2. TransactionManager オブジェクトの使用
      1. 5.2.1. TransactionManager インターフェイスの定義
      2. 5.2.2. TransactionManager メソッドの説明
    3. 5.3. トランザクションオブジェクトの使用
      1. 5.3.1. トランザクションインターフェイスの定義
      2. 5.3.2. トランザクションメソッドの説明
    4. 5.4. XA 登録の問題解決
      1. 5.4.1. XA リソースの登録方法
      2. 5.4.2. 自動登録
  9. 6. JDBC データソースの使用
    1. 6.1. 接続インターフェイスについて
    2. 6.2. JDBC データソースの概要
      1. 6.2.1. データベース固有のデータソースおよび汎用データソース
      2. 6.2.2. 一部の汎用データソース
      3. 6.2.3. 使用するパターン
    3. 6.3. JDBC データソースの設定
    4. 6.4. OSGi JDBC サービスの使用
      1. 6.4.1. PAX-JDBC 設定サービス
      2. 6.4.2. 処理されたプロパティーの概要
      3. 6.4.3. pax-jdb-config バンドルがプロパティーを処理する方法
    5. 6.5. JDBC コンソールコマンドの使用
    6. 6.6. 暗号化された設定値の使用
    7. 6.7. JDBC 接続プールの使用
      1. 6.7.1. JDBC 接続プールの使用について
      2. 6.7.2. dbcp2 接続プールモジュールの使用
        1. 6.7.2.1. BasicDataSource の設定プロパティー
        2. 6.7.2.2. DBCP2 プールの設定方法の例
      3. 6.7.3. narayana 接続プールモジュールの使用
      4. 6.7.4. transx 接続プールモジュールの使用
    8. 6.8. アーティファクトとしてのデータソースのデプロイ
      1. 6.8.1. データソースの手動デプロイメント
      2. 6.8.2. データソースのファクトリーデプロイメント
      3. 6.8.3. データソースの混合デプロイメント
    9. 6.9. Java™ Persistence API でのデータソースの使用
      1. 6.9.1. データソースの参照について
      2. 6.9.2. JNDI 名の参照
  10. 7. JMS 接続ファクトリーの作成
    1. 7.1. OSGi JMS サービスについて
    2. 7.2. PAX-JMS 設定サービス
      1. 7.2.1. AMQ 7.1 の接続ファクトリーの作成
      2. 7.2.2. IBM MQ 8 または IBM MQ 9 の接続ファクトリーの作成
      3. 7.2.3. Fuse on Apache Karaf での JBossA-MQ6.3 クライアントの使用
        1. 7.2.3.1. 前提条件
        2. 7.2.3.2. 手順
      4. 7.2.4. 処理されたプロパティーの概要
    3. 7.3. JMS コンソールコマンドの使用
    4. 7.4. 暗号化された設定値の使用
    5. 7.5. JMS 接続プールの使用
      1. 7.5.1. JMS 接続プールの使用
      2. 7.5.2. pax-jms-pool-pooledjms 接続プールモジュールの使用
      3. 7.5.3. pax-jms-pool-narayana 接続プールモジュールの使用
      4. 7.5.4. pax-jms-pool-transx 接続プールモジュールの使用
    6. 7.6. 接続ファクトリーのアーティファクトとしてのデプロイ
      1. 7.6.1. 接続ファクトリーの手動デプロイメント
      2. 7.6.2. 接続ファクトリーのファクトリーデプロイメント
      3. 7.6.3. 接続ファクトリーの混合デプロイメント
  11. 8. Java Connector Architecture (JCA) の概要
    1. 8.1. Simple JDBC analogy
    2. 8.2. JCA の使用についての概要
    3. 8.3. pax-transx プロジェクト
  12. 9. トランザクションを使用する Camel アプリケーションの作成
    1. 9.1. ルートをマークすることによるトランザクションの境界
      1. 9.1.1. JDBC リソースを使用したルートのサンプル
      2. 9.1.2. Java DSL でのルート定義
      3. 9.1.3. Blueprint XML でのルート定義
      4. 9.1.4. デフォルトのトランザクションマネージャーおよびトランザクションポリシー
      5. 9.1.5. トランザクションスコープ
      6. 9.1.6. トランザクションルートにスレッドプールがない
      7. 9.1.7. フラグメントへのルートの分割
      8. 9.1.8. リソースエンドポイント
      9. 9.1.9. リソースエンドポイントを含むサンプルルート
    2. 9.2. トランザクションエンドポイントによる境界
      1. 9.2.1. JMS エンドポイントを使用したルートの例
      2. 9.2.2. Java DSL でのルート定義
      3. 9.2.3. Blueprint XML でのルート定義
      4. 9.2.4. DSL transacted() コマンドは必要ありません。
      5. 9.2.5. ルート開始時のトランザクションエンドポイント
    3. 9.3. 宣言型トランザクションによる境界
      1. 9.3.1. bean レベルの宣言
      2. 9.3.2. トップレベルの宣言
      3. 9.3.3. tx:transaction 属性の説明
    4. 9.4. トランザクション伝播ポリシー
      1. 9.4.1. Spring トランザクションポリシー
      2. 9.4.2. 伝播動作の説明
      3. 9.4.3. Blueprint XML でのポリシー Bean の定義
      4. 9.4.4. Java DSL の PROPAGATION_NEVER ポリシーを使用したルートの例
      5. 9.4.5. Blueprint XML で PROPAGATION_NEVER ポリシーを使用したルートの例
    5. 9.5. エラー処理およびロールバック
      1. 9.5.1. トランザクションをロールバックする方法
        1. 9.5.1.1. ランタイム例外を使用したロールバックのトリガー
        2. 9.5.1.2. rollback() DSL コマンドの使用
        3. 9.5.1.3. markRollbackOnly() DSL コマンドの使用
      2. 9.5.2. デッドレターキューを定義する方法
      3. 9.5.3. トランザクションに関する例外のキャッチ
  13. 法律上の通知

はじめに

本ガイドでは、Fuse トランザクションアプリケーションを実装するための情報および手順を提供します。本書では、以下の内容を取り上げます。

  • 1章トランザクションの概要
  • 2章Karaf (OSGi) でのトランザクションの使用開始
  • 3章トランザクションマネージャーの設定および参照を行うインターフェイス
  • 4章Narayana トランザクションマネージャーの設定
  • 5章Narayana トランザクションマネージャーの使用
  • 6章JDBC データソースの使用
  • 7章JMS 接続ファクトリーの作成
  • 8章Java Connector Architecture (JCA) の概要
  • 9章トランザクションを使用する Camel アプリケーションの作成
  1. Previous
  2. Next
Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2023 Red Hat, Inc.
  • Privacy Statement
  • Terms of Use
  • All Policies and Guidelines
Red Hat Summit Red Hat Summit
Twitter