diff --git a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/conf_templates/templates/repository/conf/api-manager.xml.j2 b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/conf_templates/templates/repository/conf/api-manager.xml.j2 index 10fa23c95e74..850daa43de5f 100644 --- a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/conf_templates/templates/repository/conf/api-manager.xml.j2 +++ b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/conf_templates/templates/repository/conf/api-manager.xml.j2 @@ -185,6 +185,50 @@ {% endfor %} + + {% if integration.transaction_counter.enable is defined %} + {{integration.transaction_counter.enable}} + {% endif %} + {% if integration.transaction_counter.server_id is defined %} + {{integration.transaction_counter.server_id}} + {% endif %} + {% if integration.transaction_counter.store_impl is defined %} + {{integration.transaction_counter.store_impl}} + {% endif %} + {% if integration.transaction_counter.record_queue_size is defined %} + {{integration.transaction_counter.record_queue_size}} + {% endif %} + {% if integration.transaction_counter.producer_counting_thread_pool_size is defined %} + {{integration.transaction_counter.producer_counting_thread_pool_size}} + {% endif %} + {% if integration.transaction_counter.producer_scheduled_interval is defined %} + {{integration.transaction_counter.producer_scheduled_interval}} + {% endif %} + {% if integration.transaction_counter.max_transaction_count_per_record is defined %} + {{integration.transaction_counter.max_transaction_count_per_record}} + {% endif %} + {% if integration.transaction_counter.min_transaction_count_per_record is defined %} + {{integration.transaction_counter.min_transaction_count_per_record}} + {% endif %} + {% if integration.transaction_counter.publisher_scheduled_interval is defined %} + {{integration.transaction_counter.publisher_scheduled_interval}} + {% endif %} + {% if integration.transaction_counter.publisher_max_batch_size is defined %} + {{integration.transaction_counter.publisher_max_batch_size}} + {% endif %} + {% if integration.transaction_counter.publisher_max_retries is defined %} + {{integration.transaction_counter.publisher_max_retries}} + {% endif %} + {% if integration.transaction_counter.service_url is defined %} + {{integration.transaction_counter.service_url}} + {% endif %} + {% if integration.transaction_counter.service_username is defined %} + {{integration.transaction_counter.service_username}} + {% endif %} + {% if integration.transaction_counter.service_password is defined %} + {{integration.transaction_counter.service_password}} + {% endif %} + diff --git a/features/apimgt/org.wso2.carbon.apimgt.gateway.feature/pom.xml b/features/apimgt/org.wso2.carbon.apimgt.gateway.feature/pom.xml index 867391a3b58e..472cd7405a94 100644 --- a/features/apimgt/org.wso2.carbon.apimgt.gateway.feature/pom.xml +++ b/features/apimgt/org.wso2.carbon.apimgt.gateway.feature/pom.xml @@ -266,7 +266,9 @@ org.wso2.carbon.mediation:org.wso2.carbon.localentry.stub:${carbon.mediation.version} - + + org.wso2.integration.transaction.counter:transaction-count-handler:${integration.transaction.counter.version} + com.googlecode.json-simple:json-simple com.google.code.gson:gson:${google.code.gson.version} net.sf.ehcache.wso2:ehcache diff --git a/pom.xml b/pom.xml index 434b52880713..1665558eb38c 100644 --- a/pom.xml +++ b/pom.xml @@ -1950,6 +1950,11 @@ batik-all ${batik.version} + + org.wso2.integration.transaction.counter + transaction-count-handler + ${integration.transaction.counter.version} + @@ -2074,6 +2079,9 @@ [5.1,6) + + 1.0.0 + 0.0.0 [1.0.1, 1.1.0)