The adapter manages subscriptions to an AMQP queue and defines the process to be executed.
Properties
|
|
Defines the operation executed by the adapter Possible values:
|
Parameters
|
|
Identifier of the configuration provided in Possible values: Any string containing the configuration identifier, e.g. |
|
|
AMQP server host Possible values: Server host, e.g. |
|
|
Dedicated AMQP port in the server Possible values: AMQP port number, e.g. |
|
|
Name of the user subscribing or unsubscribing to a topic Possible values: Any string containing the user name, e.g. |
|
|
Password associated to the user Possible values: Any string containing the corresponding password, e.g. |
|
|
Queue where the message is subscribed or unsubscribed Possible values: Any string containing the queue name, e.g. |
|
|
Container where the queue is placed Possible values: Any string containing the container name, e.g. |
|
|
Quality of Service of the message Possible values:
|
|
|
Enable SSL encryption Possible values: |
|
|
Activate SASL Authentication Possible values:
|
|
|
SASL mechanism of the remote endpoint. Mögliche Werte:
|
|
|
Path of the Technical Process executed as soon as a message is received Possible values: Process path, e.g. |
Status values
|
|
The operation was executed successfully (no output is generated) |
|
|
An error occurred during the operation's execution (no output is generated) |
Configuration
To provide the needed information a configuration file with a specified structure can be used, which is loaded at server startup. The configuration file amqpconfig.xml must be stored under the server path X4DB/0.
The file has the following structure:
amqpconfig.xml
<?xml version='1.0' encoding='UTF-8'?>
<RootElement>
<AMQPConfig name="queueEmployeesConfig">
<Server host="localhost" port="5672" useSsl="false"/>
<Client user="user" password="p4ssw0rd"/>
<Queue container="employeesContainer" name="employees" qos="AT_LEAST_ONCE"/>
</AMQPConfig>
</RootElement>