AMQPReceiveMessage
You can start a process with the AMQPReceiveMessage activity. The process is triggered when the plug-in receives a message from a specified AMQP broker queue.
General
The following table lists the configurations on the General tab of the AMQPReceiveMessage activity.
| Field | Module Property? | Description |
|---|---|---|
| Name | No | The name of the activity displayed in the process. The default value is
AMQPReceiveMessage.
|
| 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. |
| Entity Type | No |
Select an entity type from the following:
Note: This field is available only when
AzureSB-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 available only when
AzureSB-1-0 is selected from the
Broker Type list of the used AMQP Connection resource.
|
| Subscription Name | Yes | Enter the name of the subscription from where the message is received.
Note: This field is available only when
AzureSB-1-0 is selected from the
Broker Type list of the used AMQP Connection resource and the
Entity Type field on the
General tab is Topic.
|
| Message Type | No | Select one of the following message types:
Note: Any field is available only when Qpid-1-0 broker is selected from the Broker Type list of the used AMQP Connection shared resource. |
| MaxMessages | Yes |
The maximum number of messages that can be fetched by the AMQPReceiveMessage activity for each request submitted to the Azure Service Bus server. The default value is 1. Note:
This field is available only when AzureSB-1-0 is selected from the Broker Type list of the used AMQP Connection shared resource.
|
| 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 AMQPReceiveMessage activity.
Advanced
The following table describes the configurations on the Advanced tab of the AMQPReceiveMessage activity.
| Field | Module Property? | Description |
|---|---|---|
| Session Enabled | No | The Session Enabled checkbox is displayed only when AzureSB-1-0 is chosen as the Broker Type in the selected shared resource for this receiver. Select the Session Enabled checkbox to receive messages from a session enabled queue or topic. |
| Receive Type | No |
The Receive Type field is available only when the Session Enabled checkbox is selected. The messages can be received from the queue or topic in one of the following methods:
|
| Max Concurrent Sessions | Yes |
The Max Concurrent Sessions field is available only when All Available Sessions is selected in the Receive Type field. The Max Concurrent Sessions field has the following properties:
|
| Session Id | Yes | The Session Id field is available only when Single Session is selected in the Receive Type field. Provide the session Id of the session from where you want to receive messages. |
| Sequence Key | No | This field contains an XPath expression that specifies the order in which the process runs. Process instances with sequencing keys that have the same value are run sequentially in the order in which the process instances are created.
For more details, see the TIBCO ActiveMatrix BusinessWorks documentation. |
| Custom Job Id | No | This field contains an XPath expression that specifies a custom job ID for every job in the process instance.
For more details, see the TIBCO ActiveMatrix BusinessWorks documentation. |
Conversations
On the
Conversations tab, you can click the
Add New Conversation
icon to initiate a conversation. A conversation represents two or more related message exchanges in the same process that are correlated by the BusinessWorks engine.
Output
The following table describes the output elements on the Output tab of the AMQPReceiveMessage 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.
|
to select an AMQP Connection shared resource. The AMQP Connection shared resource creates a connection between the plug-in and an AMQP server.