The virtual services can be managed using the Virtual Services UI page:
Click the submit button to create the virtual service. If a valid free HTTP/HTTPS port is specified, then the virtual service will be accessible on the ports specified.
Click the submit button to edit the virtual service. If a valid free HTTP/HTTPS port is specified, then the virtual service will be accessible on those ports. The service will no longer be accessible on the old ports.
Click the delete button to delete the virtual service. The service will no longer be accessible on the old port. The deleted virtual service mappings will be backed up in the deleted-scenarios directory.
Once selected, the following will happen:
Property name | Description | Example usage |
---|---|---|
http.port | The HTTP port for the virtual service | http.port=9017 |
https.port | The HTTPS port for the virtual service | https.port=9018 |
https.key.store.path | Path to the HTTPS key store to use, relative to the virtual service directory | https.key.store.path=certs/server.jks |
https.key.store.password | The password for the HTTPS key store | https.key.store.password=password |
https.key.manager.password | The password for the HTTPS key store manager | https.key.manager.password=password |
https.key.store.type | The type of key store used, for example JKS or PKCS12 | https.key.store.type=JKS |
https.need.client.auth | Whether client authentication is required. Set to true or false. | https.need.client.auth=true |
https.trust.store.path | Path to the HTTPS trust store to use, relative to the virtual service directory | https.trust.store.path=certs/servertrust.jks |
https.trust.store.password | The password for the HTTPS trust store | https.trust.store.password=password |
https.trust.store.type | The type of trust store used, for example JKS or PKCS12 | https.trust.store.type=JKS |
ibm.mq.queue.replay.on.startup | When set to true, replay mode will be enabled for this virtual service ibm-mq-mappings on startup | ibm.mq.queue.replay.on.startup=true |
ibm.mq.queue.replay.request.queue.manager | The name of the queue manager to connect to consume request messages, as specified in ibm-mq-connections.json | ibm.mq.queue.replay.request.queue.manager=REQ.QM |
ibm.mq.queue.replay.response.queue.manager | The name of the queue manager to connect to produce response messages, as specified in ibm-mq-connections.json | ibm.mq.queue.replay.response.queue.manager=RSP.QM |
To configure a HTTP virtual service you should:
To configure a HTTPS virtual service you should:
To configure a Native IBM® MQ virtual service you should:
This documentation is for an old version of Traffic Parrot. There is a more recent Traffic Parrot version available for download at trafficparrot.com