root/src/modules/rabbitmq_driver.xml

Revision 684a705a898bb252b96f8a43f7964daee37434ff, 1.4 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 3 years ago)

up the default snd/rcvbuf rabbit socket sizes and make configurable

  • Property mode set to 100644
Line 
1 <module>
2   <name>rabbitmq_driver</name>
3   <description><para>The rabbitmq_driver module allows publishing of metrics and status messages over the AMQP protocol for use powering the IEP system.</para></description>
4   <loader>C</loader>
5   <image>rabbitmq_driver.so</image>
6   <moduleconfig>
7     <parameter name="sndbuf"
8                required="optional"
9                default="1048576"
10                allowed="^\d+$">The SO_SNDBUF size for setsockopt(2).</parameter>
11     <parameter name="rcvbuf"
12                required="optional"
13                default="1048576"
14                allowed="^\d+$">The SO_RCVBUF size for setsockopt(2).</parameter>
15   </moduleconfig>
16   <checkconfig />
17   <examples>
18     <example>
19       <title>Loading the rabbitmq_driver.</title>
20       <para>This example loads the rabbitmq_driver and configures it.</para>
21       <programlisting><![CDATA[
22       <stratcon>
23         <modules>
24           <module image="rabbitmq_driver" name="rabbitmq_driver" />
25         </modules>
26         <iep>
27           <mq type="rabbitmq">
28             <hostname>mq1,mq2</hostname>
29             <exchange>noit.firehose</exchange>
30             <exchangetype>topic</exchangetype>
31             <routingkey>check</routingkey>
32             <username>stratcon</username>
33             <password>youllneverguess</password>
34           </mq>
35         </iep>
36       </stratcon>
37     ]]></programlisting>
38     </example>
39   </examples>
40 </module>
Note: See TracBrowser for help on using the browser.