How to create a trigger that needs to durable subscripe to an activeMQ broker

Describe the problem/error/question

Hello Team,

I am quite new to n8n and I am looking for an example or documentation how to set up a trigger, that is listening to an activeMQ broker by durable subscription to a topic.
There is an existing activeMQ broker I would like to connect and subscribe to, but as soon as I provide the connection details I receive an error message (see below).
Then in the AMQP parameter section I am not sure how to provide the topic instead of a Queue. You can see my trial in the screenshot below.

I checked the activeMQ broker with my java app and I can connect, subscribe and consume messages without any problems

I would really appreciate your support as I am starting with n8n and I am keen to see all the capabilities that are available, but currently I am struggling right at the beginning :-(.

Thanks a lot in advance.

Best regards, Michael

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: 1.69.2
  • **Database (default: SQLite): SQLite
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • **Operating system: Ubuntu

hi @Hugoman1

Welcome to the community! This feels like an issue connecting from within the docker n8n instance to the activeMQ server. Where is that java app located that you’re able to connect with?

Are you able to spin up n8n locally using npm on your laptop (assuming no network constraints)? if that works then it might be some docker config you need to allow the connection to go through.

Also, as you’re using triggers this might be relevant: Docker | n8n Docs

Hope this helps!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.