Cocop.AmqpMathToolConnector
2.1.0
API to connect math environment with AMQP
|
Public Member Functions | |
AmqpPropsManager (String host, String excName, String user, String pwd) | |
void | setPort (int i) |
void | setSecure (boolean sec) |
void | setExchangeDurable (boolean dur) |
void | setExchangeAutoDelete (boolean aut) |
Holds message bus properties.
eu.cocop.amqp2math.AmqpPropsManager.AmqpPropsManager | ( | String | host, |
String | excName, | ||
String | user, | ||
String | pwd | ||
) |
Constructor.
host | Host. |
excName | Exchange name. |
user | Username. |
pwd | Password. |
void eu.cocop.amqp2math.AmqpPropsManager.setExchangeAutoDelete | ( | boolean | aut | ) |
Gets whether the exchange shall apply "auto delete" (i.e., be automatically deleted when all queues have been deleted).
aut | True if enabled, otherwise false. |
void eu.cocop.amqp2math.AmqpPropsManager.setExchangeDurable | ( | boolean | dur | ) |
Sets whether the exchange shall be durable (i.e., survive a broker restart).
dur | True if durable, otherwise false. |
void eu.cocop.amqp2math.AmqpPropsManager.setPort | ( | int | i | ) |
Sets the AMQP server port. If not set, a default port will be chosen. The default depends on whether the connection is secure or not.
i | Port number. |
void eu.cocop.amqp2math.AmqpPropsManager.setSecure | ( | boolean | sec | ) |
Sets whether a secure connection is used. The default is "true".
sec | True if secure, otherwise false. |
Before using this software, please make sure to read and understand LICENSE.txt.
COCOP - Coordinating Optimisation of Complex Industrial Processes
https://cocop-spire.eu/
This project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 723661. This piece of software reflects only the authors' views, and the Commission is not responsible for any use that may be made of the information contained therein.