vkcelik commented on issue #3246: NIFI-5929 Support for IBM MQ multi-instance 
queue managers
URL: https://github.com/apache/nifi/pull/3246#issuecomment-541437977
 
 
   @ijokarumawak @volvicoasis @joewitt 
   Integration test have been performed. 
   The tests was performed using Docker and latest version of IBM MQ and 
patched Apache NiFi image. The NiFi image was patched with JMS NAR bundle files 
compiled from code in pull request. Furthermore client library [IBM MQ classes 
for 
Java](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.1.0/com.ibm.mq.dev.doc/q030520_.htm)
 was added into the NiFi image.
   
   Two test cases was tested. In both cases the objective was to test automatic 
failover/reconnection. This feature/behaviour is further explained 
[here](https://www.ibm.com/support/pages/using-websphere-mq-automatic-client-reconnection-websphere-mq-classes-jms).
   In both cases following steps was performed:
   1. Put some messages into a MQ message queue. 
   2. Configure JMSConnectionFactoryProvider controller service with _Broker 
URI_ containing list of two brokers (called queue managers in MQ terminology). 
   3. Run ConsumeJMS processor using JMSConnectionFactoryProvider from previous 
step
   
   In the first test case the first broker in the list is unreachable, the 
second broker is running and reachable.
   In the second test case the first broker is running and reachable, the 
second broker in the list is unreachable.
   
   The expected outcome in both test cases is ConsumeJMS outputting 1 or more 
flowfiles. The actual test outcome was as expected, both tests passed. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to