User Tools

Site Tools


using_basic_consume

Using Basic Consume

With the release of our v3.18.0 Agent we have introduced a new way to poll for messages from the Message Bus. This new way will provide higher reliability when faced with connection problems as well as improved throughput.

The use of this is the default for AMQPS connections in v3.21.0. For versions v3.18.0 to v3.20.0 you can manually enter in the setting to utilize this. This change is to add in the following attribute to the <message_connection> tag:

  • use_basic_consume=“true”

Example below:

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<config>
   <agent>
      <subscribe>
          <task>
             <task_name>example_subscribe</task_name>
             <message_connection use_basic_consume="true" user="XXXX" password="XXXX">amqps://example.perspectium.net</message_connection>
             ...
             ...
             ...
          </task>
      </subscribe>
 
      <max_reads_per_connect>4000</max_reads_per_connect>
      <polling_interval>5</polling_interval>
   </agent>
</config>
using_basic_consume.txt · Last modified: 2020/04/30 18:51 by paul