If you're using an independent integration server then it's possible to use record replay with the remoteDefaultQueueManager option (https://www.ibm.com/docs/en/app-connect/12.0?topic=mq-using-remote-default-queue-manager). If you set this option then the record half will just work without any further settings. On the replay side you have to set the endpoint for the replay destination in the server.conf.yaml as follows:
RecordReplay Destinations DestinationTemplate endpoint: 'wmq:/msg/queue/SYSTEM.DEFAULT.LOCAL.QUEUE'where you just name the queue, in this case SYSTEM.DEFAULT.LOCAL.QUEUE, instead of using the queue@qmgr syntax where the queue manager name would have to point to a local queue mananger.
------------------------------
David Coles
App Connect Developer
------------------------------