modifySIBEngine command

Use the modifySIBEngine command to modify the properties of a messaging engine for a service integration bus member. To run the command, use the AdminTask object of the wsadmin scripting client. Command-line help is provided for service integration bus commands:

After using the command, save the changes to the master configuration; for example, by using the following command:

AdminConfig.save()

 

Purpose

This command modifies the properties of a messaging engine.

 

Target object

A messaging engine.

 

Required parameters

-bus busname

The name of the service integration bus on which the bus member is configured. Use the listSIBuses command to list the names of existing buses.

 

Conditional parameters

-node nodename -server servername

To change properties of a messaging engine for an application server as a bus member, specify both the name of the node on which the server runs and the name of the server.

-cluster cluster

To change properties of a messaging engine for a server cluster as a bus member, specify the name of the cluster.

-engine enginename

If the bus member has only one messaging engine, you do not need to specify the engine name. If the bus member has several messaging engines, specify the name of the engine for which you want to change properties.

 

Optional parameters

-description text

An optional description for the messaging engine, for administrative purposes.

-initialState STARTED | STOPPED

The initial state determines whether the messaging engine is started automatically when the server or server cluster is started.

Stopped

When the associated appserver is started, the messaging engine is stopped and is not available to process messages.

Started

When the associated appserver is started, the messaging engine is started and is available to process messages.

-highMessageThreshold number

The maximum total number of messages that the messaging engine can place on its message points.

When the messaging engine is created, the high message threshold of the bus is used to set the default value for this property. When a message point is created on this messaging engine, the value of this property is used to set the default high message threshold for the message point.

 

Example

wsadmin>AdminTask.showSIBEngine('[-bus bus1 -node node01 -server server1 -engine node01.server1-bus1 ]') '{initialState=STARTED, targetGroups=[], name=node01.server1-bus1, highMessageThreshold=50000, messageStoreType=FILESTORE, uuid=56F8FE11AB84188D, busName=bus1, busUuid=6DF19B02BC879BD1}'

wsadmin>AdminTask.modifySIBEngine('[-bus bus1 -node node01 -server server1 -engine node01.server1-bus1 -initialState STOPPED ]')

wsadmin>AdminTask.showSIBEngine('[-bus bus1 -node node01 -server server1 -engine node01.server1-bus1 ]') '{initialState=STOPPED, targetGroups=[], name=node01.server1-bus1, highMessageThreshold=50000, messageStoreType=FILESTORE, uuid=56F8FE11AB84188D, busName=bus1, busUuid=6DF19B02BC879BD1}'

   



Last updated Nov 10, 2010 8:23:07 PM CST