What's new

Recent site activity

Renaming

StOMP supports renamed class loading via simple API.

Suppose you have renamed YourOldClass to YourClass.
If you read the old serialized data based on the old class name, you can:
Object fromStomp: bytes setting: [:context |
    context
registerClassOldName: #YourOldClass for: YourClass ].
There is also a NameSpace conscious version.  
Object fromStomp: bytes setting: [:context |
    context
registerClassOldName: #YourOldClass in: #OldNameSpace for: YourClass ].


Comments