Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Why Nifi JMSConsumer is opening and closing connection for each message, while consuming data from IBM MQ?

Highlighted

Why Nifi JMSConsumer is opening and closing connection for each message, while consuming data from IBM MQ?

New Contributor

We are using Nifi JMS consumer to consume data from IBM mq. We use JMSConnectionFactory along with the JMSConsumer processor. We are able to connect to the IBM Queue manager but the connection is opening and closing every time message is consumed. I checked the nifi consumer code, it is closing the consumer after every message. Which eventually closing the connection.

This is an overhead to the MQ side. Is there a way to handle this connection closing issue?

Thanks, Amit

Don't have an account?
Coming from Hortonworks? Activate your account here