Work with the service integration destination properties files
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 that to set for the service integration destination object configuration.
Start the wsadmin scripting tool...
profile_home/bin/wsadmin -lang Jython
Use a properties file to create, modify, or delete a service integration destination object and its 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
Tasks
- 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
- 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')
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 Deleting server, cluster, application, or authorization group objects using properties files Create, modifying, and deleting configuration objects using one properties file PropertiesBasedConfiguration .