Managing EPL Rules
Each Processor inside an Application has one corresponding MBean, which exposes EPL Rules management operations. The following screenshot shows the MBean for the "helloworldProcessor" in the "helloworld" application:

The following screenshot shows a sample interaction with the EPLProcessor MBean to add and delete EPL rules:

The script used is:
app = helloworld
cd /EPLProcessor/${app}Processor/$app
get AllRules
invoke getRule helloworldRule
invoke deleteRule helloworldRule
get AllRules
invoke addRule helloworldRule "select * from HelloWorldEvent retain 1 event"
get AllRules
Accessing other MBeans
WLEvS provides MBeans for many other components like streams and application adapters. We can access their attributes and operations in the same way with wlshell.
As an example, the following script modifies dynamically the Message attribute of the "helloworldAdapter":
cd /HelloWorldAdapterConfig/${app}Adapter/$app
get Message
set Message "Hi! the time is now: "
get Message
This is the wlshell output when executing the previous script:
The change takes effect immediately, as seen in the WLEvS console output:
Conclusion
WebLogic Event Server provides all the management operations through the standard JMX interface. JMX-compliant tools, like wlshell, can be used to effectively administer WLEvS. In this blog entry I have described some basic management tasks, using MBean attributes and operations. Additional administrative tasks can be done on other MBeans using the same techniques described here.
References
WLEvS - WebLogic Event Server Product Center