#
        # Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
        #
        # 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.
        #

        # register some connection factories
        # connectionfactory.[jndiname] = [ConnectionURL]
        #connectionfactory.TopicConnectionFactory = amqp://{{apim.throttling.jms.username}}:{{apim.throttling.jms.password}}@clientid/carbon?brokerlist='{{apim.throttling.throttle_decision_endpoints | join("?retries='5'%26connectdelay='50';")}}?retries='5'%26connectdelay='50';'


        {% if apim.throttling.event_duplicate_url is defined %}
        connectionfactory.TopicConnectionFactory = amqp://{{apim.throttling.jms.username}}:{{apim.throttling.jms.password}}@clientid/carbon?brokerlist='{% for url in apim.throttling.event_duplicate_url %}{{url}}{% if '?' in url %}%26{% else %}?{% endif %}retries='5'%26connectdelay='50'{% if apim.throttling.jms.ssl is defined %}%26ssl='{{apim.throttling.jms.ssl}}'{% endif %};{% endfor %}'
        {% endif %}

        # register some queues in JNDI using the form
        # queue.[jndiName] = [physicalName]
        #queue.MyQueue = example.MyQueue

        # register some topics in JNDI using the form
        # topic.[jndiName] = [physicalName]
        topic.throttleData = throttleData
        topic.tokenRevocation = tokenRevocation
        topic.cacheInvalidation = cacheInvalidation
        topic.keyManager = keyManager
        topic.notification = notification