Creating a new messaging engine using the wsadmin tool

When you create a service integration bus and add a server or a cluster member to that bus, a messaging engine with default settings is created automatically. Use the createSIBEngine command to create an additional messaging engine for a cluster bus member.

Each server bus member has exactly one messaging engine. Cluster bus members can support additional engines. If you create an additional messaging engine for a cluster, you must explicitly configure both the data store and the JDBC data source that the messaging engine uses to interact with the data store. You must create the data source at cluster scope, not node scope. For more information about creating messaging engines, see Configuring a data source for a messaging engine running in a cluster.

To run the command, use the AdminTask object of the wsadmin scripting client.

This command is only valid when used with WebSphere® Application Server Version 6 and later application servers. Do not use it with earlier versions.

Command-line help is provided for service integration bus commands:

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

Purpose

This command creates a new messaging engine for a cluster bus member.

Command name
createSIBEngine
Target
None.
Result
A messaging engine object on the bus.

Required parameters

-bus busname
The name of the service integration bus on which the bus member is configured. You can use the listSIBuses command to list the names of existing buses.
-cluster cluster
To create a messaging engine for a server cluster as a bus member, specify the name of the cluster.
-datasourceJndiName datasource
The JNDI name of the data source that the messaging engine uses to access the relational database management system (RDBMS) for the data store.

Conditional parameters

None.

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.
STARTED
When the associated application server is started, the messaging engine is started and is available to process messages.
STOPPED
When the associated application server is started, the messaging engine is stopped and is not 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.

-createDefaultDatasource TRUE | FALSE
Set this parameter to true to create a default data source when the messaging engine is created.

Example

app_server_root/bin>wsadmin -conntype SOAP -port 8879 WASX7209I: Connected to process
"dmgr" on node 9994GKCCellManager01 using SOAP connector;  The type of process
is: DeploymentManager WASX7029I: 
For help, enter: "$Help help" wsadmin>$AdminTask
wsadmin>$AdminTask listSIBEngines {-bus abus}
cluster1.000-abus(cells/9994GKCCell01/clusters/cluster1|sib-engines.xml#SIBMessagingEngine_1098181503570)
wsadmin>$AdminTask createSIBEngine {-bus abus -cluster cluster1 -datasourceJndiName eis/cluster1me3}
cluster1.001-abus(cells/9994GKCCell01/clusters/cluster1|sib-engines.xml#SIBMessagingEngine_1098182419216)
wsadmin>$AdminTask listSIBEngines {-bus abus -cluster cluster1}
cluster1.000-abus(cells/9994GKCCell01/clusters/cluster1|sib-engines.xml#SIBMessagingEngine_1098181503570)
cluster1.001-abus(cells/9994GKCCell01/clusters/cluster1|sib-engines.xml#SIBMessagingEngine_1098182419216)



Related concepts
Service integration high availability and workload sharing configurations
Related tasks
Creating a messaging engine
Configuring a policy for messaging engines using scripting
Related reference
Messaging engine administrative commands
Reference topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 11:08:29 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=rjk_cli_me_create
File name: rjk_cli_me_create.html