+

Search Tips   |   Advanced Search

Work with the service integration destination properties files

We can use properties files to create, modify, or delete bus destinations for the service integration bus objects. Service integration is the default Java Message Service (JMS) messaging provider for the product.

Determine the property values to set for the service integration destination object 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.

Using a properties file, we can create, modify, or delete a service integration destination object and its configuration properties.

bus destination properties files. We can create, modify,
Action Procedure
create Specify commandName=createSIBDestination in the properties file. Run the applyConfigProperties command.
modify Specify commandName=modifySIBDestination in the properties file. Run the applyConfigProperties command.
delete Specify commandName=deleteSIBDestination in the properties file. Run the applyConfigProperties command.
create Property Not applicable
delete Property Not applicable

  1. Create, modify, or delete a service integration destination object.

    • Create a service integration destination object.

      Open an editor, specify commandName=createSIBDestination in the header, specify the service integration bus destination properties, and save the file.

      We can copy the following service integration bus destination configuration to the properties file and edit the properties as needed. Also specify the server and the node or cluster.

      #  # Header
      #
      CreateDeleteCommandProperties=true
      commandName=createSIBDestination
      #
       #
      # Properties #
      delegateAuthorizationCheckToTarget=null #Boolean
      receiveAllowed=null #String
      defaultPriority=null #Integer
      nonPersistentReliability=null #String
      persistentReliability=null #String
      type=Queue #String, required
      mqRfh2Allowed=null #Boolean
      aliasBus=null #String
      maxReliability=null #String
      receiveExclusive=null #Boolean
      exceptionDestination=null #String
      foreignBus=null #String
      overrideOfQOSByProducerAllowed=null #String
      useRFH2=null #Boolean
      blockedRetryTimeout=null #java.lang.Long
      wmqQueueName=null #String
      topicAccessCheckRequired=null #Boolean
      wmqServer=null #String
      targetBus=null #String
      targetName=null #String
      bus=myBus #String, required
      reliability=null #String
      server=myServer #String
      node=myNode #String
      replyDestination=null #String
      auditAllowed=null #Boolean
      description=null #String
      cluster=null #String
      maintainStrictMessageOrder=null #Boolean
      sendAllowed=null #String
      replyDestinationBus=null #String
      maxFailedDeliveries=null #Integer
      name=myDest #String, required
      persistRedeliveryCount=null #Boolean

    • Modify a service integration bus destination object.

      Open an editor, specify commandName=modifySIBDestination in the header, change the service integration bus destination properties as needed, and save the file.

    • Delete a service integration destination object.

      Open an editor, specify commandName=deleteSIB destination in the header, specify the bus property, and save the file.

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=deleteSIBDestination
      #
       #
      # Properties #
      bus=myBus #String, required
      foreignBus=null #String
      aliasBus=null #String
      name=myDest #String, required

  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 mySIBDestination.props -reportFileName report.txt '])

    Optionally, we can use the command in interactive mode:

      AdminTask.applyConfigProperties('-interactive')


Results

We can use the properties file to configure and manage the service integration bus destination object.


What to do next

Save the changes to the configuration.


Related tasks

  • Create server, cluster, application, or authorization group objects using properties files and wsadmin scripting
  • Delete server, cluster, application, or authorization group objects using properties files
  • Create, modify, and delete configuration objects using one properties file

  • PropertiesBasedConfiguration (AdminTask)