Skip to main content
amitjha
Silver ⭐️⭐️
Jan 22, 2025 7:30 AM UTC
Question

NiFi ConsumeJMS processor error(Solace eventBroker)

I am trying to integrate NIFI with Solace event broker and have created JMSConnectionFactoryProvidor service, which is enabled and running. However my JMSConsume processor gives this error - 

ConsumeJMS failed to process session due to Host not specified;

Below are the configs for my FactoryService and processor:

amitjha_0-1737530993344.pngamitjha_1-1737531000505.png

What am I missing in the configuration?

Thanks.

3 replies

MattWho
Titanium ⭐️⭐️
Titanium ⭐️⭐️
Jan 22, 2025 5:13 PM UTC

@amitjha 

Providing the full stack trace from the nifi-app.log may help here in identifying the issue.

Is the controller service enabled and valid?
any other exceptions in the logs related to either the consumeJMS processor or the JMSConnectionFactoryProvider controller service?

The connectionFactory will on attempt to create the connection once first referencing component request a connection.  The exception eludes to and issue there, but full stack trace may help identify exactly what went wrong.

Have you tried this tutorial from Solace:
https://solace.com/integration-hub/nifi/

Other observations:

  • Keep in mind that you are using an HDF release that is going on 8 years old. 
  • I recommend not adding outside jars directly to the NiFi lib directory.  Create a directory outside of NiFi's base directory and add your custom jars there.  Just make sure the NiFi service user can access that directory and owns the jars.

Thanks,
Matt

Translate
amitjha
amitjhaAuthor
Silver ⭐️⭐️
Jan 24, 2025 7:32 AM UTC

Thanks for the prompt response. We are working to get the stack-trace logs and would get back to you.

Thanks,

Amit.

Translate
amitjha
amitjhaAuthor
Silver ⭐️⭐️
Jan 28, 2025 10:49 AM UTC

Hi Matt,

This is the error, we receive in the log:

amitjha_0-1738061335893.png

Thanks,

Amit.

Translate