Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5306

Use Spring's method injection to set the dependencies for the message service

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Assessment
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      In Context.java from org.openmrs.api.context on line 569 and 579:

       

      /**
        * Convenience method to allow us to change the configuration more easily. TODO Ideally, we
        * would be using Spring's method injection to set the dependencies for the message service.
        *
        * @return the ServiceContext
        */
      private static MessageSender getMessageSender() {
        return new MailMessageSender(getMailSession());
       }
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              sherlocktech Sean Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: