Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2767

JMS Source Does Not Expose `acknowledge`

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1 GA, 1.0.4
    • Fix Version/s: 1.1.1, 1.2 M1
    • Component/s: Stream Module
    • Labels:
      None

      Description

      Since the message-driven adapter uses a DMLC, the default behavior is to lose messages on exceptions (with the DMLC, the message is ack'd before the listener is invoked).

      In order to provide recovery of such situations, the source needs to expose acknowledge so it can be set to transacted.

      Or, perhaps, given that we don't expose complex configuration, the source should use a SimpleMessageListenerContainer instead (where the ack is sent after the listener is successfully invoked).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              grussell Gary Russell
              Reporter:
              grussell Gary Russell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: