Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5896

Add a MailService sharedSession option

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • JBossAS-5.0.0.CR2
    • None
    • Other
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • 0
    • 0% 0%

    Description

      To avoid having a single mail session instance shared across all lookups, we need the option to create a new mail session on each jndi lookup. A new sharedSession attribute is needed to control this behavior:

      /**

      • Set whether a single mail session should be shared across all lookups
      • (sharedSession = true) or a new session created on each lookup
      • (sharedSession = false, the default).
      • @param sharedSession
        */
        public void setSharedSession(boolean sharedSession)

      Attachments

        Issue Links

          Activity

            People

              starksm64 Scott Stark (Inactive)
              starksm64 Scott Stark (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: