ALSB automation

817 views Asked by At

One of the elegant things about WebLogic is WLST (Weblogic Scripting). Is it possible to script actions done in ALSB (Aqualogic Service Bus)?

For example: Exporting resources from the bus.

2

There are 2 answers

0
Matthieu Cormier On BEST ANSWER

I found out how to export. You need to grab an instance of ALSBConfigurationMBean like so.

 if currentTree() != domainRuntime:
    domainRuntime()

alsbConfigBean = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)

From there you just do a query for the correct references. Documentation for ALSBConfigurationMBean is here

Found some sample Jython code here

0
Pascal Thivent On

The short answer is yes. Check out Using deployment APIs.