MQ consume from topic Version 6 (Net)

Action group: Integrations


Description

The action returns a message from the MQ.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
MQ contextOpen MQ Session ContextRobin.MQMQ contextYes
TimeoutTime in milliseconds to wait for message. Default value: 6000Robin.Numeric
No
Results
Received messageReceived messageRobin.String

Special conditions of use

None.

Example of use 

Task

Create a connection to MQ , get a message from the topic and disconnect the connection. 

Solution 

Use the "MQ connect", "MQ publish", and "MQ disconnect" actions. 

Implementation

  1. Assemble a robot scheme consisting of actions:
  2. Set the parameters for the "MQ connect" action

  3. Set the parameters for the "MQ publish" action

  4. Set the parameters for the "MQ disconnect" action


  5. Click on the "Start" button in the top panel

Resut

The program robot completed successfully. The message has been sent. 

  • Нет меток