Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-967

Improvements to the the map of messageExchanges maintained at in-memory representation of process instance DAO

    XMLWordPrintableJSON

Details

    Description

      I'm proposing this code level improvement to in-memory DAO implementation in bpel-runtime.
      In the in-memory representation of process instance DAO (org.apache.ode.bpel.memdao.ProcessInstanceDaoImpl), we see it maintains an unused map of messageExchanges.
      eg - private Map<String, byte[]> _messageExchanges = new HashMap<String, byte[]>();

      And the runtime representation of the message exchanges is quite weird as it's a byte array. But looking at the other DAO implementation, I think correct way to maintain a message exchange is to maintain a collection of org.apache.ode.bpel.dao.MessageExchangeDAO.

      Here I've attached a patch which describes the code-level improvement.

      Regards,
      Denis Weerasiri

      Attachments

        1. ODE-967-v1.patch
          3 kB
          Denis Weerasiri

        Activity

          People

            Unassigned Unassigned
            ddweerasiri Denis Weerasiri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: