AMQPSendMessage
You can use the AMQPSendMessage activity to send messages to a specified destination.
General
The following table describes the configurations on the General tab of the AMQPSendMessage activity.
| Field | Module Property? | Description |
|---|---|---|
| Name | No | The name of the activity displayed in the process. The default value is AMQPSendMessage. |
| 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. |
| Protocol Version | No | AMQP protocol 1.0 (AMQP-1-0) is supported with Qpid-1-0, ActiveMQ-1-0, AMQ-1-0, or AzureSB-1-0 broker; and AMQP protocol 0.9 (AMQP-0-9) is supported with RabbitMQ-0-9 broker. |
| Entity Type | No |
Select an entity type from the following: |
| Entity Name | Yes | Enter the name of the topic where the message is published. |
| Queue Name | Yes | Enter the name of the queue where the message is published. |
| Exchange Type | No | The type of the exchange. The valid types are listed as follows: |
| Exchange Name | Yes | The name of the exchange. |
| Routing Key | Yes | The routing key of the exchange. This field is only required when direct or topic is selected as the exchange type. |
| Message Type | No | Select one of the following message types: |
| Get MessageID | No | Select the Get MessageID checkbox to populate the message ID on the Output tab. |
| User Properties | No | Right-click inside the
User Properties text box and click the
Add Parameter icon to add a user property. To delete a user property, click the
Delete icon.
|
Description
On the Description tab, you can add a short description for the AMQPSendMessage activity.
Advanced
The following table describes the configurations on the Advanced tab of the AMQPSendMessage 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 Entity Name field on the General tab. The following table describes the input elements on the Input tab of the AMQPSendMessage activity.
Output
The following table describes the output elements on the Output tab of the AMQPSendMessage activity.
Fault
The following table describes the error schema elements on the Fault tab of the AMQPSendMessage 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 occurs about the connection problem that is 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.
icon to add a user property. To delete a user property, click the
icon.