You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


The file that controls the configuration settings for Meshlet is the application-dev.yml file. This file contains configurations that are needed for the Meshlet to run. 

The keys described below are only the essential configurations that must be set for your Meshlet. Additional configuration will depend on your integration, i.e. a bi-directional integration between ServiceNow and Ivanti. 


Spring

RabbitMQ Configuration

To configure your connection to the Perspectium Integration Mesh, you will need to include the following keys: 

KeyDefault ValueDescription

host


Host name for connecting to the Perspectium Integration Mesh.

spring:
   rabbitmq:
      host: localhost
port 

A port number that the transferring data will use.

spring:
   rabbitmq:
      port: 1234
username

Username for connecting to the Perspectium Integration Mesh.

spring:
   rabbitmq:
      username: georvioloan
password

Password for connecting to the Perspectium Integration Mesh.

spring:
   rabbitmq:
      password: password123
vhost

 Virtual host name for connecting to the Perspectium Integration Mesh.

spring:
   rabbitmq:
      vhost: /
exclusivetrue

Sets the outbound queue as an exclusive consumer queue. 

This can be use when you are running two Meshlets at once. The first Meshlet ran will be prioritized over the second Meshlet. 

spring:
   rabbitmq:
      exclusive: true


Perspectium

Message Configuration

To configure which queue will receive or send messages, you will need to include the following keys: 

KeyDefault ValueDescription

inboundQueue


Represents the shared queue on the provider instance. 

In DataSync integration, the value will have the following format:

psp.in.meshlet.<application>.<customer/key>

Example: psp.in.meshlet.servicenow.psp_demo.

In ServiceBond integration, the value will have the following format:

psp.in.meshlet.<application>.<process>.<customer/key>

Example: psp.in.meshlet.servicenow.incident.psp_demo.

perspectium: 
   message:
      inboundQueue: psp.in.meshlet.servicenow.incident.psp_demo
outboundQueue

Represents the subscribed queue on the provider instance. 

perspectium: 
   message:
      inboundQueue: psp.out.servicenow.dev123456
wrapCDATAfalse

Enabling the key will wrap all outbound message fields in a CDATA section.

perspectium: 
   message:
      wrapCDATA: false


Example of application-dev.yml

The example below shows a basic configuration of the YAML file. Additional configuration will depend on your integration, i.e. a bi-directional integration between ServiceNow and Ivanti. 

spring:
   rabbitmq:
      host: localhost
      port: 5672
      username: georvioloan
      password: password123
      vhost: /
      exclusive: false
perspectium:
   message:
      inboundQueue: psp.in.meshlet.servicenow.incident.psp_demo
      outboundQueue: psp.out.servicenow.dev123456
      wrapCDATA: false