3

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.

Matthieu Cormier
  • 2,185
  • 1
  • 21
  • 32

2 Answers2

5

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
  • 2,185
  • 1
  • 21
  • 32
3

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

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124