Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3944

DBMessageStoreImpl.insert(...) method always sets 'delivered' to "TRUE"

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.12
    • Fix Version/s: None
    • Component/s: Message Store, Rosetta
    • Labels:
      None

      Description

      DBMessageStoreImpl.insert(...) method doesn't use the delivered argument and hardcodes the value "TRUE".

          private void insert(URI uid, Message message, String classification, String delivered, Connection conn) 
              throws SQLException, MessageStoreException
          {
              String sql = "insert into "+tableName+"(uuid, type, message, delivered, classification) values(?,?,?,?,?)";
              PreparedStatement ps = null;
              
              try
              {
                  ps = conn.prepareStatement(sql);
                  ...
                  ps.setString(4, "TRUE");
                  ...
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tadayosi Tadayoshi Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: