AMQP Endpoints can also be pre-configured via the default.prs file with the following syntax:
rm.amqp.endpoint.configuration.<index>.endpoint.alias=<alias>rm.amqp.endpoint.configuration.<index>.amqp.version=<string>rm.amqp.endpoint.configuration.<index>.connection.properties=<map>rm.amqp.endpoint.configuration.<index>.destination.properties=<map>Example 1:
rm.amqp.endpoint.configuration.0.endpoint.alias=rmqrm.amqp.endpoint.configuration.0.amqp.version=0.9.1rm.amqp.endpoint.configuration.0.connection.properties={host=localhost,port=5672,virtual.host=/,username=test,password=test}rm.amqp.endpoint.configuration.0.destination.properties={exchange=rmqex,routingKey=rmqrk}Example 2:
rm.amqp.endpoint.configuration.1.endpoint.alias=amqrm.amqp.endpoint.configuration.1.amqp.version=1.0.0rm.amqp.endpoint.configuration.1.connection.properties={host=192.168.56.101,port=5672}rm.amqp.endpoint.configuration.1.destination.properties={queueName=amqq}