Camel
  1. Camel
  2. CAMEL-4683

JpaConsumer - Add option to control if consumer should run in transacted mode and rollback all if one exchange failed

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.4, 2.8.2
    • Fix Version/s: 2.7.5, 2.8.3, 2.9.0
    • Component/s: camel-jpa
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      See nabble
      http://camel.465427.n5.nabble.com/Misleading-jmx-statistics-on-jpa-component-tp4960503p4960503.html

      We should add option consumer.transacted to allow end users to control if they want the JpaConsumer to run in transacted mode, where by if one exchange failed to be processed, the entire batch is rolled back. If not, then all the good messages will be committed, and only the failed message will rollback.

        Activity

        Claus Ibsen created issue -
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Willem Jiang made changes -
        Fix Version/s 2.8.4 [ 12319072 ]
        Fix Version/s 2.8.3 [ 12318649 ]
        Willem Jiang made changes -
        Fix Version/s 2.8.3 [ 12318649 ]
        Fix Version/s 2.8.4 [ 12319072 ]

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development