Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input reads from MQ, Output sends to MQ? #2

Open
TinajaLabs opened this issue Feb 7, 2018 · 1 comment
Open

Input reads from MQ, Output sends to MQ? #2

TinajaLabs opened this issue Feb 7, 2018 · 1 comment

Comments

@TinajaLabs
Copy link

When I drag an input ampq node into a tab, I assumed that I was dragging a component on the input of RabbitMQ. But when I open the node to configure it, I see a field into which I am asked to enter what queue I am reading from. To me, "reading from" implies an output.

I think of a message queue as having an input and an output. The input listens to an external source and the output delivers or is consumed by an external source.

Your input module reads from a queue, and your output module sends to a queue.

Please help me understand the logic and directionality of your input and output modules.

Thanks,
Chris.

@GTerryLiu
Copy link

Hi, I just tried to use amqp2 to deal with rabbitmq messages. But I failed. And I know why an input node has both input and output field. You can use the input field of an input node to subscribe to a specified queue. "readFrom" defines the queue name you want to subscribe to. And when messages have been published to the queue, you can use the output field to get the messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants