Skip to content

JMX monitoring of Number of Sessionthreads #86

@vivekanandasofware

Description

@vivekanandasofware

Currently in the SMTPServer there is no way to get the current number of activesessions.
If someone like us or any administrator wants to check this attribute there is noway to do it.
Probably we can add a new Method in SMTPServer as below
getNumberofSessions(){
return this.serverThread.getNumberOfSessions();
}

and in ServerThread we can add
getNumberofSessions(){
return sessionThreads.getSize();
}
We really require such function. Apache james has such facility but we avoided that for lot of reasons.
How can we contribute this code or can someone add this fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions