Databases Reference
In-Depth Information
4. Run the following WLST commands to create the bridge target:
cd('/')
cmo.createJMSBridgeDestination('BridgeTarget')
cd('/JMSBridgeDestinations/BridgeTarget')
cmo.setClasspath('')
cmo.setConnectionURL('t3://remote01.domain.local:9001,remote02.
domain.local:9002')
cmo.setAdapterJNDIName('eis.jms.WLSConnectionFactoryJNDIXA')
cmo.setConnectionFactoryJNDIName('jms.remoteappcf')
cmo.setDestinationJNDIName('jms.remotequeue')
5. Run the following WLST commands to create the bridges and associate the sources
and the target:
cd('/')
cmo.createMessagingBridge('Bridge_01')
cd('/MessagingBridges/Bridge_01')
set('Targets',jarray.array([ObjectName('com.bea:Name=PROD_
Server01,Type=Server')], ObjectName))
cmo.setSourceDestination(getMBean('/JMSBridgeDestinations/
BridgeSource_01'))
cmo.setTargetDestination(getMBean('/JMSBridgeDestinations/
BridgeTarget'))
cmo.setStarted(true)
cmo.setSelector('')
cmo.setQualityOfService('Atmost-once')
cd('/')
cmo.createMessagingBridge('Bridge_02')
cd('/MessagingBridges/Bridge_02')
set('Targets',jarray.array([ObjectName('com.bea:Name=PROD_
Server02,Type=Server')], ObjectName))
cmo.setSourceDestination(getMBean('/JMSBridgeDestinations/
BridgeSource_02'))
cmo.setTargetDestination(getMBean('/JMSBridgeDestinations/
BridgeTarget'))
cmo.setStarted(true)
cmo.setSelector('')
cmo.setQualityOfService('Atmost-once')
 
Search WWH ::




Custom Search