[Fix Pack 9 or later]

Working with SIB engine properties files

You can use properties files to create, modify, or delete a service integration bus (SIBus) messaging engine. 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 SIB engine 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 create, modify, or delete a SIB engine and its configuration properties.

Table 1. Actions for SIB engine properties files. You can create, change, or delete SIB engine configuration properties.
Action Procedure
create Specify commandName=createSIBusEngine in the properties file. Run the applyConfigProperties command.
modify Specify commandName=modifySIBEngine in the properties file. Run the applyConfigProperties command.
delete Specify commandName=deleteSIBEngine in the properties file. Run the applyConfigProperties command.
create Property Not applicable
delete Property Not applicable

Procedure

  1. Create modify, or delete a SIB engine.
    • Create a SIB engine.

      Open an editor, specify commandName=createSIBEngine in the header, specify the SIB engine properties, and save the file.

      You can copy the following SIB engine configuration to the properties file and edit the properties as needed.

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=createSIBEngine
      #
      
      #
      # Properties
      #
      initialState=null #String
      node=myNode #String
      defaultBlockedRetryTimeout=null #java.lang.Long
      server=myServer #String
      highMessageThreshold=null #java.lang.Long
      bus=myBus #String,required
      engine=null #String
      cluster=null #String
      description=null #String
    • Modify a SIB engine.

      Open an editor, specify commandName=modifySIBEngine in the header, change the SIB engine properties as needed, and save the file. Set the required property to be modified. Also set cluster or node and server properties. The engine property is not required if it is a single engine.

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=modifySIBEngine
      #
      
      #
      # Properties
      #
      initialState=null #String
      node=myNode #String
      defaultBlockedRetryTimeout=null #java.lang.Long
      server=myServer #String
      highMessageThreshold=null #java.lang.Long
      bus=myBus #String,required
      engine=null #String
      cluster=null #String
      description=null #String
    • Delete a SIB engine object.

      Open an editor, specify commandName=deleteSIBEngine in the header, specify the bus and any other required properties, specify cluster or node and server properties, and then save the file.

      #
      # Header 
      #
      CreateDeleteCommandProperties=true
      commandName=deleteSIBEngine
      #
      
      #
      # Properties
      #
      cluster=null #String
      bus=myBus #String,required
      engine=null #String
      node=myNode #String
      server=myServer #String
  2. Run the applyConfigProperties command.

    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 mySIBEngine.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 SIB engine.

What to do next

Save the changes to your configuration.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 1:44:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-dist&topic=txml_config_prop_sibengine
File name: txml_config_prop_sibengine.html