--- title: "AMQP (Input agent, Legacy)" slug: "input-agents-amqp" updated: 2026-09-14T11:50:10Z published: 2026-09-14T11:50:10Z canonical: "docs.lobstersoftware.com/input-agents-amqp" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # AMQP (Input agent, Legacy) **IMPORTANT:** This Input agent can only be selected if at least one AMQP connection has been set up. ## Settings ![images/download/attachments/201674579/amqp_1-version-1-modificationdate-1747108598651-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/amqp_1-version-1-modificationdate-1747108598651-api-v2.png) ![images/download/attachments/201674579/amqp_2-version-1-modificationdate-1747108598649-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/amqp_2-version-1-modificationdate-1747108598649-api-v2.png) (1) **Start on IS only:** Only relevant for the module "Load balancing" to start the Profile on a specific node. (2) **Connection alias:** Selection of an AMQP alias (see [AMQP connections (legacy)](/v1/docs/en/manage-amqp)**)**. (3) **Message type:** Selection of the message type ("Subscriber", "Topic", "Routing" or "RPC"). The style "RPC" is synchronous, the others are asynchronous. **NOTE:** If you use style "RPC", it is additionally necessary to use a Response of the "Custom class" type and the specific class "PassBackDataResponse". The reason is that in the case of an RPC call a response is expected by the calling client, which is generated by the mentioned response class and from there returned to the input agent and then to the client. See also [Profile chains](/v1/docs/en/intro-profile-chains). (4) **Queue/Topic:** Name of the *queue* or *topic* to listen to. See also (3). **NOTE:** If an Azure Service Bus is used and "Topic" is selected in (3), the following syntax must be used here: */subscriptions/*, e.g. *mytopic/subscriptions/mysubscription*. (5) **RoutingKey:** The routing key is a message attribute that the server uses to decide how the message should be routed to queues. For details please refer to the documentation of the AMQP server used, e.g. here for RabbitMQ. **NOTE:** Does not apply to type "Subscriber" and "RPC". (6) **Persistent ('Durable'):** Set this checkbox if (4) is a durable queue (such a queue will survive a broker restart). (7) **Only confirm message at the end of a successful job:** Here you can set the consumer delivery acknowledgement behavior, i.e. how the receipt of a message to the message bus is confirmed. If the checkbox is not set, the default behavior applies, i.e. the receipt is acknowledged after the backup file of the profile job has been created (except for message type *RPC*). If the checkbox is set, a received message will only be confirmed after the job has been successfully completed. Processing in the background is not possible in that case (see [Phase 1](/v1/docs/en/profiles--tab-2)). If the responses have the checkbox "Execute response in own thread" set, the receipt of a message is always confirmed after Phase 6. > [!NOTE] > **NOTE:** > > - If a message is not confirmed, the setting of the AMQP server takes effect and the message may be delivered again or rejected and forwarded to the dead letter queue (see also the following section *Message* *Properties*). If this is the case, you can therefore, similar to working with databases, "commit" a transaction at the end of the processing in the profile if no error has occurred. In the event of an error, profiles for error handling can be set up, for example, which may then process the erroneous messages from the dead letter queue. > - A dead letter queue can also be created via a "AMQP" response if the profile that uses this response has a defined system variable AMQP_SYS_. For RabbitMQ, for example, that would be *AMQP_SYS_x-dead-letter-exchange*. (8) **Virtual file name is:** Here you can enter the name of a message property. The value of the property is then used as the name of the received file (log overview in the Control Center). If no value is specified or the property is not found or has no value, the default value *amqp.data* is used for the file name. Example: The received message has the message property *myfilename* with the value *test.txt.* If the field has the value *myfilename*, the received file gets the name *test.txt*. **NOTE:** Please note that you cannot use the file name directly in the field. (9) **Buffer messages** and (10) **Max wait time:** Messages are collected in a buffer. The profile is started with the collected messages when either the maximum number of collected messages is reached or the maximum waiting time. If the profile is saved, messages in the buffer are deleted. **NOTE:** The desired seconds can also be entered manually. (11) **Value to forward:** If messages are collected (value in (9) is greater than "1"), you can decide which ones are to be passed on. If you select "All", you might have to use a delimiter (12) between the single messages. (12) **Delimiter for messages:** The delimiter for messages. You can also specify hex codes with prefix "0x". See also (11). **NOTE:** Only active if the value in (9) is greater than "1". (13) **Additional (premature) case to forward:** Here you can specify conditions (for numerical values, for strings or regular expressions) when messages are to be forwarded to the profile for processing prematurely (only one must apply). If, in the example, the message does not contain the string "lens" (→ set corresponding condition), it will be collected. If the string "lens" is contained, the message is passed on immediately and the collection counter is reset, i.e. other collected messages are discarded. As an alternative to conditions, you can use a function chain to check messages. If the function chain returns "true" at the end, the check is considered successful. **NOTE:** Only active if the value in (9) is greater than "1". ![images/download/attachments/201674579/2124-version-1-modificationdate-1747108598656-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/2124-version-1-modificationdate-1747108598656-api-v2.png) ![images/download/attachments/201674579/2125-version-1-modificationdate-1747108598654-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/2125-version-1-modificationdate-1747108598654-api-v2.png) ![images/download/attachments/201674579/_amqp_3-version-1-modificationdate-1747108598652-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/_amqp_3-version-1-modificationdate-1747108598652-api-v2.png) (14) Enter the number of messages here until the function chain is checked. "1" if every message should be checked. (15) Select a function by double-clicking (or using the arrow). It will be inserted in (16). (16) The function chain, as you already know it from Phase 3. **NOTE:** Note the specific parameter type, "Message". (17) In addition to the parameter types already known from Phase 3, there will also be the "Message" type. (18) You can test your function chain. See the following screenshot. **NOTE:** Either the calculated value or a fixed value can be used as the result of each individual function. (19) Here you can manually enter a message that will be used for the test. (20) Click here to run the test. (21) The result of the test. ## AMQP message properties To query message properties of a message, you can use system variables. For example, the message property *NameX* is available in the profile via a system variable *MSG_CALL_NAMEX* that has to be defined in the profile. So the variable name is the prefix *MSG_CALL_* followed by the parameter name in upper case. **Specific examples:** *MSG_CALL_GROUPID*, *MSG_CALL_SUBJECT*, *MSG_CALL_MESSAGEID*, *MSG_CALL_CORRELATIONID*. > [!NOTE] > **NOTE:** > > If you are using AMQP 1.0 and the profile fails, the message property *DeadLetterErrorDiscription* is filled with the error message (without stack trace). For this purpose, however, checkbox (7) must be set (see also description there). ### AMQP 0.9.1 If you are using AMQP 0.9.1, only certain message properties can be read out with the following system variables. - MSG_CALL_CONTENTTYPE_091BASIC - MSG_CALL_CONTENTENCODING_091BASIC - MSG_CALL_MESSAGEID - MSG_CALL_TIMESTAMP_091BASIC - MSG_CALL_EXPIRATION_091BASIC - MSG_CALL_APPID_091BASIC - MSG_CALL_USERID_091BASIC - MSG_CALL_TYPE_091BASIC - MSG_CALL_PRIORITY_091BASIC - MSG_CALL_CORRELATIONID ## Profile suspension If profiles with this input agent are suspended (see [Profile suspensions](/v1/docs/en/cc-exceptions--tab-1)**)**, no messages are accepted during the suspension, but remain on the broker. If the suspension is released, it can take up to 60 seconds for these messages to be processed. The input agent receives data in Phase 1 and starts a job for further processing. It works either as event based (passively waits for data) or scheduled (actively fetches data). Acronym for **Advanced Message Queuing Protocol**. Open protocol for message-based middleware that enables reliable, asynchronous data exchange across message queues and topics. Available in the Lobster Data Platform as an AMQP ingress agent and response. The requirement is an existing AMQP server. The Lobster Data Platform's operating mode ensures high availability and scalability. A node controller accepts input data and distributes processing tasks to any number of working nodes using a round-robin or load-balancing algorithm. If the node controller fails, a working node takes over its role. A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required. The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. Responses: The profile stores the source data or sends it, for example, via FTP, HTTP, or e-mail. Central operational overview of the Lobster Data Platform. The Control Center displays running jobs, successful jobs, and error logs. Administrators use it to monitor operations, intervene in running jobs, and restart failed jobs. Mapping: Rules transfer the data from the source structure to the target structure. This is the core of the profile.