views:

189

answers:

2
+1  Q: 

ALSB automation

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.

+3  A: 

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

Matthieu Cormier
+1  A: 

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

Pascal Thivent