Canvas now enables you to connect with ActiveMQ servers to translate messages from sender to receiver. ActiveMQ can connect multiple clients and servers and allows messages to be held in queue, instead of requiring both the client and server to be available simultaneously in order to communicate.
Prerequisites
To create ActiveMQ connections, make sure to copy all the JAR files from the following location in the CT platform binary:
- \Intellect Digital Enterprise Platform-20.1.0.0-full.zip\Intellect Digital Enterprise Platform-20.1.0.0-full\Supporting_Jars\Camel_Jars\ ActiveMQ_Jars And place those files in your application WAR files on the app or web server. For example, <Tomcat-Installed-Folder>\webapps\ctmodelhouse\WEB-INF lib folder in the above mentioned path.
Perform the following steps to create an ActiveMQ connection in Canvas Studio:
- In Canvas Studio, Click Create > Connectors.
The Connectors page appears as shown in the following screenshot: - Click OTHERS and select ACTIVEMQ option.
- Enter a unique name for the connection in Connection Name field. Here, ActiveMQ_Connection is provided as the connection name.
- Provide a valid broker URL for ActiveMQ in ActiveMQ Broker Url field. In this example, the broker URL is given as http://localhost:8161/admin/.
- Provide user name for the connection in Username field. In this example, the username is given as admin.
- Provide the password for the URL in Password field.
- Click Submit to save the connection.
A success message for creating the connection appears as shown in the following screenshot: - Click Ok.
An ActiveMQ connection is created successfully.
Refer the following pages to send and receive messages using an ActiveMQ server:
Add Comment