webMethods Adapter Runtime 10.7 | webMethods Adapter Runtime Documentation | webMethods Adapter Runtime User’s Documentation | Configuration Variables Templates for Adapter Assets in Microservices Runtime | Adapter Specific Samples | webMethods Adapter for MongoDB
 
webMethods Adapter for MongoDB
Sample Connection Properties
Connection properties follow this pattern:
artConnection.<packageName>.<connectionName>.propertyGroup.property=value
For example:
artConnection.TestPkg_Mongo.connections.DefaultConn1.connectionEnabled=false
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.blockingTimeout=1000
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.expireTimeout=1000
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.maximumPoolSize=10
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.minimumPoolSize=1
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.poolIncrementSize=1
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.poolable=true
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.startupBackoffSecs=10
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionManagerSettings.startupRetryCount=0
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.authScheme=Default
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.authenticationDatabase=admin3
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.compressors=
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.invalidHostNameAllowed=false
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.keyStoreAlias=
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.mongoDatabaseName=QA_Automation
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.mongoPassword={AES}kSoTK3xdu2nyV1SDA+W43g==
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.mongoServerHostName=mongodb\://10.60.30.13\:27011/
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.mongoUserName=Admin
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.otherAuthMechanismProperties=
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.readConcern=default
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.readPreference=default
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.replicaSet=
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.serverSelectionTimeout=5000
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.socketReadTimeOut=0
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.sslEnabled=false
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.timeout=30000
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.trustStoreAlias=
artConnection.TestPkg_Mongo.connections.DefaultConn1.
connectionSettings.writeConcern={ w\: 1, j\: true, wtimeout\:1000 }
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionEnabled=false
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.blockingTimeout=1000
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.expireTimeout=1000
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.maximumPoolSize=10
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.minimumPoolSize=1
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.poolIncrementSize=1
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.poolable=true
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.startupBackoffSecs=10
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionManagerSettings.startupRetryCount=0
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.authScheme=None
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.authenticationDatabase=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.compressors=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.invalidHostNameAllowed=false
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.keyStoreAlias=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.mongoDatabaseName=newdb
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.mongoPassword={AES}kSoTK3xdu2nyV1SDA+W43g==
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.mongoServerHostName=mongodb\://localhost\:27017/
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.mongoUserName=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.otherAuthMechanismProperties=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.readConcern=local
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.readPreference=primary
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.replicaSet=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.serverSelectionTimeout=30000
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.socketReadTimeOut=10000
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.sslEnabled=false
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.timeout=10000
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.trustStoreAlias=
artConnection.TestPkg_Mongo.connections.ConnSanp.
connectionSettings.writeConcern={ w\: 1, j\: true, wtimeout\:1000 }
Sample Listener Properties
Listener properties follow this pattern:
artListener.<packageName>.<listenerName>.propertyGroup.property=value
For example:
artListener.TestPkg_Mongo.listeners.TestListenSanp.
connectionAlias=Connections\:Default_con
artListener.TestPkg_Mongo.listeners.TestListenSanp.
listenerEnabled=false
artListener.TestPkg_Mongo.listeners.TestListenSanp.
listenerSettings.collectionName=customers
artListener.TestPkg_Mongo.listeners.TestListenSanp.
retryBackoffTimeout=10
artListener.TestPkg_Mongo.listeners.TestListenSanp.
retryLimit=5
artListener.TestPkg_Mongo.listeners.updateListener.
connectionAlias=Connections\:kavp
artListener.TestPkg_Mongo.listeners.updateListener.
listenerEnabled=false
artListener.TestPkg_Mongo.listeners.updateListener.
listenerSettings.collectionName=customers
artListener.TestPkg_Mongo.listeners.updateListener.
retryBackoffTimeout=10
artListener.TestPkg_Mongo.listeners.updateListener.
retryLimit=5
Sample Notification Properties
Notification properties follow this pattern:
artNotification.<packageName>.<notificationName>.propertyGroup.property=value
For example:
artNotification.TestPkg_Mongo.Notifications.
ListenerNotifications.updateTest1.listenerName=Listeners\:TestUpdate
artNotification.TestPkg_Mongo.Notifications.
ListenerNotifications.updateTest1.notificationEnabled=false
artNotification.TestPkg_Mongo.Notifications.ListenerNotifications.
deleteDB.InvalidateKAVP.listenerName=Listeners\:deleteDB
artNotification.TestPkg_Mongo.Notifications.ListenerNotifications.
deleteDB.InvalidateKAVP.notificationEnabled=false