All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.foundation.queue.queue-rabbitmq.1.4.0-1.source-code.configSchema.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
  ~ Copyright 2015 Cisco Systems, Inc.
  ~
  ~  Licensed under the Apache License, Version 2.0 (the "License");
  ~  you may not use this file except in compliance with the License.
  ~  You may obtain a copy of the License at
  ~
  ~  http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~  Unless required by applicable law or agreed to in writing, software
  ~  distributed under the License is distributed on an "AS IS" BASIS,
  ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~  See the License for the specific language governing permissions and
  ~  limitations under the License.
  -->

<NamespaceDefinitions
        xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/foundation-runtime/configuration/master/ccp_schema/CCP_XML.xsd"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <NamespaceDefinition>
        <NamespaceIdentifier version="TBD" name="TBD"/>


        <ParameterType name="queue.consumer.base" type="STRUCTURE" description="base structure for queue consumers">
            <StructureDefinition>
                <StructureMemberDefinition name="queue.name" type="STRING" advanced="true" required="false"/>
                <StructureMemberDefinition name="queue.filter" type="STRING" advanced="true" required="false"/>
                <StructureMemberDefinition name="queue.filters" type="STRING" advanced="true" required="false"
                                           isArray="true"/>
                <StructureMemberDefinition name="queue.expiration" type="LONG" advanced="true" unit="milliseconds">
                    <DefaultValue>
                        <PrimitiveValue value="1800000"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.maxLength" type="LONG" advanced="true" unit="milliseconds">
                    <DefaultValue>
                        <PrimitiveValue value="-1"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.isMonitoringEnabled" type="BOOLEAN" advanced="true"
                                           required="false">
                    <DefaultValue>
                        <PrimitiveValue value="false"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.isSubscription" type="BOOLEAN" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="false"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.exchangeType" type="STRING" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="topic"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.isDurable" type="BOOLEAN" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="true"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.deadLetterIsEnabled" type="BOOLEAN" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="true"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.deadLetterExchangeName" type="STRING" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="DLQ"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.subscribedTo" type="STRING" required="false" advanced="true"/>
            </StructureDefinition>
        </ParameterType>

        <ParameterType name="queue.producer.base" type="STRUCTURE" description="base structure for queue producers">
            <StructureDefinition>
                <StructureMemberDefinition name="queue.name" type="STRING" advanced="true"/>
                <StructureMemberDefinition name="queue.groupId" type="STRING" advanced="true" required="false"/>
                <StructureMemberDefinition name="queue.expiration" type="LONG" advanced="true" unit="milliseconds">
                    <DefaultValue>
                        <PrimitiveValue value="1800000"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.isDurable" type="BOOLEAN" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="true"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.isPersistent" type="BOOLEAN" advanced="true">
                    <DefaultValue>
                        <PrimitiveValue value="true"/>
                    </DefaultValue>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="queue.isMonitoringEnabled" type="BOOLEAN" advanced="true"
                                           required="false">
                    <DefaultValue>
                        <PrimitiveValue value="false"/>
                    </DefaultValue>
                </StructureMemberDefinition>
            </StructureDefinition>
        </ParameterType>


        <Parameter name="service.rabbitmq.security.isEnabled" type="BOOLEAN"
                   description="Enable security authentication">
            <DefaultValue>
                <PrimitiveValue value="false"></PrimitiveValue>
            </DefaultValue>
        </Parameter>

        <Parameter name="service.rabbitmq.security.userName" type="STRING"
                   description="User name for accessing the Queue with security">
            <DefaultValue>
                <PrimitiveValue value="hquser"/>
            </DefaultValue>
        </Parameter>

        <Parameter name="service.rabbitmq.security.password" type="STRING"
                   description="Password for accessing the Queue with security">
            <DefaultValue>
                <PrimitiveValue value="hquser"/>
            </DefaultValue>
            <EnabledBy parameterName="service.rabbitmq.security.isEnabled" operator="E">
                <Value>
                    <PrimitiveValue value="true"/>
                </Value>
            </EnabledBy>
        </Parameter>


        <Parameter name="service.rabbitmq.connections" isArray="true" type="STRUCTURE"
                   description="Connection identifier for queue server(s). For HornetQ this is the connection to HornetQ's jndi service.">
            <StructureDefinition>
                <StructureMemberDefinition name="host" type="STRING" required="false"/>
                <StructureMemberDefinition name="port" type="INTEGER" required="false">
                    <!--<DefaultValue>
                        <PrimitiveValue value="5900"/>
                    </DefaultValue>-->
                </StructureMemberDefinition>
                <StructureMemberDefinition name="jmxPort" type="INTEGER" required="false">
                    <!--<DefaultValue>
                        <PrimitiveValue value="3900"/>
                    </DefaultValue>-->
                </StructureMemberDefinition>
                <StructureMemberDefinition name="instance1" type="STRUCTURE" required="false">
                    <StructureDefinition>
                        <StructureMemberDefinition name="host" type="STRING" required="false"/>
                        <StructureMemberDefinition name="port" type="INTEGER" required="false">
                            <DefaultValue>
                                <PrimitiveValue value="5900"/>
                            </DefaultValue>
                        </StructureMemberDefinition>
                        <StructureMemberDefinition name="jmxPort" type="INTEGER" required="false">
                            <DefaultValue>
                                <PrimitiveValue value="3900"/>
                            </DefaultValue>
                        </StructureMemberDefinition>
                    </StructureDefinition>
                </StructureMemberDefinition>
                <StructureMemberDefinition name="instance2" type="STRUCTURE" required="false">
                    <StructureDefinition>
                        <StructureMemberDefinition name="host" type="STRING" required="false"/>
                        <StructureMemberDefinition name="port" type="INTEGER" required="false">
                            <DefaultValue>
                                <PrimitiveValue value="5900"/>
                            </DefaultValue>
                        </StructureMemberDefinition>
                        <StructureMemberDefinition name="jmxPort" type="INTEGER" required="false">
                            <DefaultValue>
                                <PrimitiveValue value="3900"/>
                            </DefaultValue>
                        </StructureMemberDefinition>
                    </StructureDefinition>
                </StructureMemberDefinition>
            </StructureDefinition>
            <!--<DefaultValue>
                <StructureValue index="1">
                    <StructureMemberValue name="host" value="vgc1a"/>
                    <StructureMemberValue name="port" value="5902"/>
                    <StructureMemberValue name="jmxPort" value="3900"/>
                </StructureValue>
            </DefaultValue>-->
        </Parameter>

        <Parameter name="service.rabbitmq.admin.connections" isArray="true" type="STRUCTURE"
                   description="Connection identifier for queue server(s). For HornetQ this is the connection to HornetQ's jndi service.">
            <StructureDefinition>
                <StructureMemberDefinition name="host" type="STRING" required="false"/>
                <StructureMemberDefinition name="port" type="INTEGER" required="false"/>
            </StructureDefinition>
        </Parameter>

        <Parameter name="service.rabbitmq.admin.userName" type="STRING"
                   description="User name for accessing the Queue with security">
            <DefaultValue>
                <PrimitiveValue value="guest"/>
            </DefaultValue>
        </Parameter>

        <Parameter name="service.rabbitmq.admin.password" type="STRING"
                   description="Password for accessing the Queue with security">
            <DefaultValue>
                <PrimitiveValue value="guest"/>
            </DefaultValue>
            <EnabledBy parameterName="service.rabbitmq.security.isEnabled" operator="E">
                <Value>
                    <PrimitiveValue value="true"/>
                </Value>
            </EnabledBy>
        </Parameter>

        <Parameter name="service.rabbitmq.attachRetryDelay" type="INTEGER" unit="MILLISECONDS"
                   description="Delay between attempts to attach to the queue server(s)"
                   advanced="true">
            <DefaultValue>
                <PrimitiveValue value="10000"/>
            </DefaultValue>
        </Parameter>

        <Parameter name="service.rabbitmq.requestHeartbeat" type="INTEGER" unit="SECONDS"
                   description="Frequency of heartbeats to detect ba tcp connections and recover"
                   advanced="true">
            <DefaultValue>
                <PrimitiveValue value="10"/>
            </DefaultValue>
        </Parameter>

        <Parameter name="messageHandling.threadpool.size" type="INTEGER"
                   description="set the maximun size of a thread pool that will get application messages"
                   advanced="true">
            <DefaultValue>
                <PrimitiveValue value="50"/>
            </DefaultValue>
        </Parameter>
        <Parameter name="messageHandling.threadpool.waitingQueueSize" type="INTEGER"
                   description="set the size of a waiting queue to handle messages till a thread from the thread pool will be available. Should be the same value as the thread pool size."
                   advanced="true">
            <DefaultValue>
                <PrimitiveValue value="50"/>
            </DefaultValue>
        </Parameter>
        <Parameter name="messageHandling.synchronizeStyle" type="STRING" description="The inner synchronization type"
                   advanced="true">
            <DefaultValue>
                <PrimitiveValue value="JavaConcurrency"/>
            </DefaultValue>
            <Range>
                <StringEnum value="LOCK"/>
                <StringEnum value="JavaConcurrency"/>
            </Range>
        </Parameter>
        <Parameter name="messageHandling.messageIdentifierProperty" type="STRING"
                   description="The property name that is used as a key of a message. It is used when a consumer uses a thread-pool to process messages asynchronously but messages with same key can't be processed in parallel. The key is stored as a message header and must be set by the producer.">
            <DefaultValue>
                <PrimitiveValue value="hh"/>
            </DefaultValue>
        </Parameter>
    </NamespaceDefinition>
</NamespaceDefinitions>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy