Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Use properties files to manage system configuration > Manage specific configuration objects using properties files > Work with service integration properties files
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 JMS messaging provider for the product.
Determine the property values to set for the service integration destination object configuration.
Start wsadmin.sh.
To start wsadmin using the Jython language, run the wsadmin -lang Jython command from the bin directory of the server profile.
Use a properties file, you can create, modify, or delete a service integration destination object and its configuration properties.
Actions for service integration bus destination properties files. We can create, modify, or delete the service integration destination configuration properties.
Action Procedure create Specify commandName=createSIBDestination in the properties file. Run applyConfigProperties. modify Specify commandName=modifySIBDestination in the properties file. Run applyConfigProperties. delete Specify commandName=deleteSIBDestination in the properties file. Run applyConfigProperties. 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.
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- 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 applyConfigProperties.
Run applyConfigProperties 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
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.
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, modifying, and deleting configuration objects using one properties file
Related
PropertiesBasedConfiguration command group using wsadmin.sh