Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3406

Losing message when i used jms:message-driven-channel-adapter

    XMLWordPrintable

    Details

    • Type: Defect
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 2.2.6
    • Fix Version/s: None
    • Component/s: JMS Support
    • Labels:
    • Environment:
      pre-prod

      Description

      I am losing message when i used

      1. jms:message-driven-channel-adapter - consumer to receive the message to get acknowldge sent my producer

      2. Reading channel and converting message into Message<T> with the help of Service Activator.

      3. Writing Message<T> to output channel and send to Dao layer to invoke insert method with the help of jdbcTemplate.update(update_sql,"ACK",ID)

      So in this way i loose some message.

      Please suggest me what needs to be done. I am suspecting there is no transactional here.

      Thinking to implement :-
      1. @Transaction for insert method
      2. Make jdbc template set to session-transacted to true

      Spring Integration 2.2.6 i am using.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            tkumar113 Kumar Amit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: