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: Closed
    • Priority: TBD
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Complexity:
      Undetermined
    • Development:

      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());
       }
      

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: