A-Stack supports AMQP protocol Handler, that can be used to subscribe/publish various messages to an AMQP broker.
...
AMQP Protocol Handler Installation: Download the protocol handlers zip file from the link belowhttp://sandbox.atomiton.com:8080/fid-downloads/res/downloads/sff.bundle.ext.amqp-
Date | Download Location | version |
---|---|---|
04/11/2018 | Download | 1.1.1 |
-041118 |
AMQP Setup Instructions
- Unzip the downloaded zip file
- Copy the sff.bundle.ext.amqp.jar from this location to the sff.auto.launch folder which is present in your A-Stack Prime folder.
AMQP Protocol Parameters:
...
Parameter Name | Parameter Description |
ClientType | Whether the client is a publisher or a subscriber. |
HostName | The IP address or Dns name of AMQP Broker. |
PortNumber | The port number on which Amqp broker is running. |
ExchangeName | The name of the exchange to which messages are to be sent or to which a queue would bind. |
ExchangeType | The type of the exchange, it can be either fanout, direct, topic or headers. |
QueueName | This parameter is used in case of subscriber and is the name of the queue to be created. |
RoutingKey | This parameter is used in case of publisher and is the routing Key or topic key of message to be published. |
AMQPSubscriptionConfig | This parameter is used in case of subscriber and is cardinality of routing keys. The subscriber queue is binded to these routing keys. |
UserName | The User Name for AMQP Connection. |
Password | The Password for the AMQP Connection. |
VirtualHost | The Name of the virtual host to which the client belongs. |
AMQPData | This parameter is used in case of publisher and is the message that you want to publish. |
SubscriptionPayload | The Messages of your subscribed topics are stored in this variable. |
Durability | An optional boolean parameter deciding whether a declared exchange or queues should be durable or not, by default it is false. Durable queues and exchanges are persistent across server restarts. |
AutoReconnect | An optional boolean parameter deciding whether a client should automatically reconnect to broker if connection is lost, by default it is true. |
Usage of AMQP protocol handler:
...