Support Questions

Find answers, ask questions, and share your expertise

Publish JMS opens too many connections if there is error while publishing a message on queue (example - queue full)

New Contributor

As long as there are no errors , there is only one connection. Once queue limit is reached , every attempt to push a message starts creating new connection leaving previous connection open forever. I have to restart nifi in order to close the connections.   


Super Collaborator

I don't see a question here.


If you found a problem with the connector the recommended course of action is to act on it. 


Assuming you are a cloudera customer please create a support ticket. Otherwise the best course of action is probably creating a jira on the Nifi project. 

- Dennis Jaheruddin

If this answer helped, please mark it as 'solved' and/or if it is valuable for future readers please apply 'kudos'.

Master Guru



You did not share your NiFi version with us.

However, based on your description I would lean towards maybe the following issue:

You would need to be running NiFi 1.8 or newer for this bug fix.

Hope this helps,

New Contributor


I have seen this problem in latest versions - 1.9.2 and 1.10.0. 


Master Guru



Aside from what i already mentioned, there was another reported scenario  that can lead to JMS connections hanging around causing these issues here:

The above Jira is still open.