MoveQueue

This function will take a queue from one database and guarantee its delivery to another database. If another instance of the server is monitoring the second database, that instance will become responsible for executing the queued transactions. The Transaction Management database connection must be capable of seeing both databases.

Group:  Transaction Management

Syntax:  [bValue =] TM.MoveQueue(sFromQueue, sToQueue)

bValue           (Boolean) Optional – the success or failure to move the queue from one database to another.

sFromQueue  (String) the source queue to be moved

sToQueue      (String) the destination queue to receive the transactions

Example:

Dim bValue As Boolean

bValue = TM.MoveQueue("RFQueue", "HostQueue")

bValue = TM.MoveQueue("RFQueue", "AltDB.HostQueue")