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

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

      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)

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

                Created:
                Updated:
                Resolved: