RestComm / jain-slee

The World's #1 Open Source JAIN-SLEE (JSLEE) 1.1 Implementation
http://www.restcomm.com/
GNU Affero General Public License v3.0
24 stars 50 forks source link

Graceful shutdown feature implementation #75

Closed gfigiel closed 6 years ago

gfigiel commented 8 years ago

Gracefull shutdown feature allows shutdown SLEE without forcefull activities ending for supporting RAs.

When slee goes into graceful stopping mode it notifies supporting RAs as not to create new activities but allows current activities to be processed until standard stop procedure is called (with activities ending schedule).

The feature is triggered using JMX call.

Detail feature requirements as in TX case: https://telestax.zendesk.com/hc/en-us/requests/33478

gfigiel commented 8 years ago

Feature implementation added in commit: https://github.com/gfigiel/jain-slee/commit/0b89725f29a53d3ae315e2a97021bc24eba08d80 on 2.x based branch

gfigiel commented 8 years ago

Pull request created: https://github.com/RestComm/jain-slee/pull/76

SergeyLee commented 8 years ago

I don't see GracefullyStopableResourceAdaptor interface in commit.

gfigiel commented 7 years ago

Hello, We are now ready to contribute this feature so please assign me to this case.

deruelle commented 7 years ago

@gfigiel great ! done

gfigiel commented 7 years ago

Pull request done. The provided changes enables any RA to be prepared for graceful shutdown.

SergeyLee commented 7 years ago

Hi @gfigiel From yesterday I am working on this feature for JSLEE 7 branch master (milestone 7.1.0), but then we can fix it for branch 2.x and then for TelScale 6.1.x. I will review your code today.

satanatoly commented 6 years ago

closing, implemented alternative of graceful shutdown in TelScale version