AMQP Sub


The AMQP Sub node enables users to subscribe to AMQP queues.

Node Type

Input.

Input and Output Ability

This node does not have an entry point and has 1 exit point. The output can be any format and is the message this client retrieves from the subscribed queue.

Node Properties

../../_images/amqp_sub.png


Name

The name for this node.


Host

The host address or domain name.


Port

The port number. Default: 5672.


Topic

The AMQP topic exchange name.


User Name

The user name used for authentication.


Password

The password for the User Name for authentication.


Queue

The queue to subscribe to.


Description

The description for the node.


Limitations

  • As AMQP is not managed by EnOS, connection problems could occur due to server downtime or other instances that are not within our control.

Samples

Input Sample

This node does not receive any input message.

Output Sample

{
  "MetaData": {
        "rabbitmq.EXCHANGE_NAME": "lorem",
        "enos-apm-tracing-tags": "{}",
        "rabbitmq.DELIVERY_TAG": "5",
        "sw8-x": "0",
        "rabbitmq.REDELIVERY_TAG": "false",
        "sw8": "1-NWM0NDhhNjdjYWZmNDQyYmFiMDQ0ODZhMGQzNzM1ZDUuMTI2LjE2MjQzNTA3NDA3OTI=-NzQ4NmJmNTkwYjM5NDZlN2I5YzYxMTg2YTc0ZGE2MzAuMTI2LjE2MjQzNTA3NDA3OTI=-0-aW90LW9yY2gtbGF1bmNoZXI=-ZDVmM2U2OTgzODliNDMwOTgzMTgwZjYyNDg3Y2YwMjhAMTAuNS40MC4yOA==-UmFiYml0TVEvVG9waWMvanN0ZXN0UXVldWUvanN0ZXN0L1Byb2R1Y2Vy-MTAuNS4zOC4xNTg6NTY3Mg==",
        "sw8-correlation": "",
        "rabbitmq.ROUTING_KEY": "lorem"
  },
  "Body": {
        "externalId":"externalId",
        "timestamp":24214324324,
        "measurepoints":{
            "speed":32,
            "heat":40
        }
    }
}