You can use properties files to add and remove service
integration bus (SIBus) member objects. SIBus is the default Java
Message Service (JMS) messaging provider for the product.
Before you begin
Determine the property values that you want to set for
the SIBus member configuration.
Start the wsadmin scripting
tool. To start wsadmin using the Jython language, run the wsadmin
-lang Jython command from the bin directory
of the server profile.
About this task
Using a properties file, you can add a member to a SIBus
object or remove a member from a SIBus object.
Table 1. Actions for SIBus member properties
files. You can add or remove SIBus members.
Action |
Procedure |
create |
Specify commandName=addSIBusMember in
the properties file. Run the applyConfigProperties command. |
modify |
Not applicable |
delete |
Specify commandName=removeSIBusMember in
the properties file. Run the applyConfigProperties command. |
create Property |
Not applicable |
delete Property |
Not applicable |
Procedure
- Add or remove a SIBus member object.
- Add a member to a SIBus object.
Open an editor, specify commandName=addSIBusMember in
the header, specify the SIBus member properties, and save the file.
You
can copy the following SIBus member configuration to the properties
file and edit the properties as needed. Set values for a server and
either a cluster or node.
#
# Header
#
CreateDeleteCommandProperties=true
commandName=addSIBusMember
#
#
#Properties
#
minPermanentStoreSize=null #java.lang.Long
trustUserIds=null #Boolean
maxTemporaryStoreSize=null #java.lang.Long
host=null #String
createTables=null #Boolean
enableAssistance=null #Boolean
temporaryStoreDirectory=null #String
securityAuthAlias=null #String
maxHeapSize=null #Integer
datasourceJndiName=null #String
bus=myBus #String,required
schemaName=null #String
dataStore=null #String
unlimitedPermanentStoreSize=null #Boolean
policyName=null #String
preferredServersOnly=null #Boolean
logSize=null #java.lang.Long
failback=null #Boolean
minTemporaryStoreSize=null #java.lang.Long
cluster=null #String
node=myNode #String
failover=null #Boolean
permanentStoreDirectory=null #String
maxPermanentStoreSize=null #java.lang.Long
server=myServer #String
wmqServer=null #String
channel=null #String
port=null #Integer
virtualQueueManagerName=null #String
unlimitedTemporaryStoreSize=null #Boolean
logDirectory=null #String
fileStore=null #String
initialHeapSize=null #Integer
transportChain=null #String
authAlias=null #String
createDefaultDatasource=null #Boolean
- Remove a member from SIBus object.
Open an editor, specify commandName=removeSIBusMember in
the header, specify the bus, server, node, and cluster properties,
and then save the file.
#
# Header
#
CreateDeleteCommandProperties=true
commandName=removeSIBusMember
#
#
#Properties
#
cluster=null #String
bus=myBus #String,required
node=myNode #String
server=myServer #String
- Run the applyConfigProperties command to add or remove
the SIBus member.
Running the applyConfigProperties
command applies the properties file to the configuration. In this
Jython example, the optional -reportFileName parameter
produces a report named report.txt:
AdminTask.applyConfigProperties(['-propertiesFileName mySIBusMember.props -reportFileName report.txt '])
Optionally, you can use the command in interactive mode:
AdminTask.applyConfigProperties('-interactive')
Results
You can use the properties file to configure and manage
the SIBus member.
What to do next
Save the changes to your configuration.