User Tools

Site Tools


Replicator Agent Instance Filtering

The Replicator Agent will process all data which comes into its queue. This means that by default multiple instances can write to the same queue and the Agent will process them both. If you do not want this behavior you can modify your configuration so the Agent will only process data from a specific instance and skip the rest.

This is done by adding in the <key> tag to the <task> tag of your agent.xml. For example if you wanted to only process data from the ServiceNow instance dev18450 than you would put:


The agent.xml file will then look similar to:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
                <message_connection password="encrypted:XXXX" user="XXXX" queue="psp.out.replicator.example" >amqp://</message_connection>
                <instance_connection password="encrypted:XXXX" user="XXXX"></instance_connection>
                <decryption_key>The cow jumped over the moon</decryption_key>

Once you save the agent.xml and re-start the Agent it will only process data for the key specified. If you have multiple tasks in your agent.xml you should place this tag in each task. You can have one task have one key and a different task with a different key.

replicator_agent_instance_filtering.txt · Last modified: 2018/04/04 14:50 by jackson.davenport