Search code examples
oraclesessionundoosbwlst

|WLST| Is it possible to undo changes from activated session?


Is it possible to undo (with creating a new change or without - it really doesn't matter) changes activated in one of previous session in Oracle Service Bus 11g using WebLogic Scipting Tool (WLST)?

I can't find any example for similar case except one question on Oracle forum which is without any answer for 2 years https://community.oracle.com/thread/3809612

All I found is createSession(), activateSession(), discardSession() and sessionExists() on SessionManagementBean but this is only for current session. There is nothing for already activated.

I would like to code in WSLT the same what does the arrows in the red circle on the right in this image (column "Options"): Configuration changes - how to undo changes from existing and already activated session


Solution

  • It was a matter of this mBean:

    'com.bea:Name=Config.XBus Kernel,Type=com.bea.wli.config.mbeans.ConfigMBean'

    and its methods:

    • getExecutionHistory
    • undoTask