You 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.
Before you begin
Determine the property values that you want 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.
About this task
Using a properties file, you can create, modify, or delete
a service integration destination object and its configuration properties.
Table 1. Actions for service integration
bus destination properties files. You can create, modify,
or delete the service integration destination configuration properties.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 |
Procedure
- 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.
You 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
- 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, you can use the command in interactive mode:
AdminTask.applyConfigProperties('-interactive')
Results
You can use the properties file to configure and manage
the service integration bus destination object.
What to do next
Save the changes to your configuration.