- 
    
Bug
 - 
    Resolution: Done
 - 
    
Major
 - 
    None
 - 
    None
 
- 
        Documentation (Ref Guide, User Guide, etc.)
 - 
        
 - 
        
 - 
        
 - 
        
 - 
        
 - 
        https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-for-openshift/merge_requests/136, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-for-openshift/merge_requests/140, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-for-openshift/merge_requests/141
 
This documents CLOUD-2225
I think it should be sufficient to document two scenarios:
Something like:
(1) One external broker:
oc new-app eap71-basic-s2i \
-p APPLICATION_NAME=eap71-mq \
-e MQ_SERVICE_PREFIX_MAPPING="broker1-amq=BROKER1_MQ" \
-e BROKER1_AMQ_TCP_SERVICE_HOST=broker1-amq-tcp \
-e BROKER1_AMQ_TCP_SERVICE_PORT=61616 \
-e BROKER1_MQ_USERNAME=test1user \
-e BROKER1_MQ_PASSWORD=test1pass(2) Two or more:
oc new-app eap71-basic-s2i \
p APPLICATION_NAME=eap71$1 \
-e MQ_SERVICE_PREFIX_MAPPING="broker1-amq=BROKER1_MQ broker2-amq=BROKER2_MQ" \
-e BROKER1_AMQ_TCP_SERVICE_HOST=broker1-amq-tcp \
-e BROKER1_AMQ_TCP_SERVICE_PORT=61616 \
-e BROKER1_MQ_USERNAME=test1user \
-e BROKER1_MQ_PASSWORD=test1pass \
-e BROKER2_AMQ_TCP_SERVICE_HOST=broker2-amq-tcp \
-e BROKER2_AMQ_TCP_SERVICE_PORT=61616 \
-e BROKER2_MQ_USERNAME=test2user \
-e BROKER2_MQ_PASSWORD=test2pass(Obviously the names could be improved).
The second case is very much an edge usage I think, so just as a note at the bottom of the section that has (1) would be sufficient, I think.
- documents
 - 
                    
CLOUD-2225 [EAP] cannot define multiple AMQ resource adapters
-         
 - New
 
 -         
 
- is blocked by
 - 
                    
CLOUD-2225 [EAP] cannot define multiple AMQ resource adapters
-         
 - New
 
 -         
 
- is cloned by
 - 
                    
JBEAP-14908 [7.1] Document using external AMQ brokers with JBoss EAP images
-         
 - Closed
 
 -         
 
- is incorporated by
 - 
                    
CLOUD-2555 EAP CD 13 OpenShift Image Release
-         
 - Closed
 
 -         
 
- is related to
 - 
                    
JBEAP-14905 [CD] Document option for multiple external AMQ brokers definition with EAP CD image
-         
 - Closed
 
 -