AMQPGetMessage
You can use the AMQPGetMessage activity to retrieve messages from a specified queue.
General
The following table describes the configurations on the General tab of the AMQPGetMessage activity.
| Field | Module Property? | Description |
|---|---|---|
| Name | No | Specifies a name of the activity displayed in the process. The default value is
AMQPGetMessage.
|
| Connection | Yes | Click
to select an AMQP Connection shared resource. The AMQP Connection shared resource creates a connection between the plug-in and an AMQP server.
If no matching AMQP Connection shared resources are found, click Create Shared Resource to create one. For more details, see Creating an AMQP Connection. |
| Queue Name | Yes |
Enter the name of the queue from where the message is received. Note: This field is available when RabbitMQ-1-0 is selected from the Broker Type list of the used AMQP Connection shared resource.
|
| Entity Type | No |
Select an entity type from the following:
Note: This field is not available when
RabbitMQ-1-0 is selected from the
Broker Type list of the used AMQP Connection shared resource.
|
| Entity Name | Yes |
Enter the name of the queue or topic entity from where the message is received.
Note: This field is not available when
RabbitMQ-1-0 is selected from the
Broker Type list of the used AMQP Connection shared resource.
|
| Subscription Name | Yes | Enter the name of the subscription from where the message is received.
Note:
|
| Durable Subscription | No |
Select this checkbox to create a durable subscription. Note:
|
| Shared Subscription | No |
Select this checkbox to create a shared subscription. Note:
|
| Message Type | No | Select one of the following message types:
|
| Acknowledge Mode | No | Select one of the following acknowledge modes:
The default value is Auto. |
Description
On the Description tab, you can add a short description for the AMQPGetMessage activity.
Input
The Input tab displays the input schema of the activity as a tree structure. The input values vary depending on the value selected for Entity Type on the General tab. The value specified for the queueName or topicName field on the Input tab takes precedence over the value specified for theEntity Name field on the General tab. The following table describes the input elements on the Input tab of the AMQPGetMessage activity.
| Input Item | Data Type | Description |
|---|---|---|
| queueName | String | Enter the name of the queue from which you want to get the message.
Note: The
queueName field is only displayed when the
Entity Type is selected as Queue on the
General tab.
|
| topicName | String | Enter the name of the topic from where the message is received.
Note: This field is not available when
RabbitMQ-1-0 is selected from the
Broker Type list of the used AMQP Connection shared resource and the
Entity Type field on the
General tab is Topic.
|
| subscriptionName | String | Enter the name of the subscription from where the message is received.
Note: This field is not available when
RabbitMQ-1-0 is selected from the
Broker Type list of the used AMQP Connection shared resource and the
Entity Type field on the
General tab is Topic.
|
Output
The following table describes the output elements on the Output tab of the AMQPGetMessage activity.
| Output Item | Data Type | Description |
|---|---|---|
| UserProperties | Complex | The message header consists of the following user properties:
|
| MessageProperties | Complex | The message properties are listed as follows:
|
| body | String/Byte | The message body of the received message:
Note: If
Simple is selected from the
Message Type list of the
General tab, the
body field is unavailable.
|
Fault
The following table describes the error schema elements on the Fault tab of the AMQPGetMessage activity.
| Error Schema Element | Description |
|---|---|
| AMQPPluginException | This error message is displayed when the plug-in captures any exception related to the process of sending a message to an AMQP broker. |
| AMQPConnectionException | This error message is displayed when any exception about the connection problem occurs in the process of sending a message to an AMQP broker. |
to select an AMQP Connection shared resource. The AMQP Connection shared resource creates a connection between the plug-in and an AMQP server.