################################################################################
#   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.
################################################################################

# Deployment Engine related configurations
#deployment:

# Currently there can be two modes
#  1. Scheduled Mode - (enable below property to "scheduled") - where the task runs periodically and trigger deployment
#  2. Triggered Mode - (enable below property to "triggered") - the deployment has to be triggered externally,
#   eg : in a worker node we don't need the task to run, but rather when we receive a
#        cluster msg,  the deployment has to be triggered manually
mode: scheduled

# Location of the artifact repository
repositoryLocation: ${carbon.home}/deployment/

# Deployment update interval in seconds. This is the interval between repository listener
# executions.
updateInterval: 15

# Notify deployment status via JMS to a topic
# In a cluster, all nodes should publish the status to the same topic which may be 
# listened on to take deployment decisions such as reverting artifacts. 
# This is disabled by default.
# 
# Specify any static message content to be published as key-value pairs 
# under staticMessageContent.
deploymentNotifier:
 jmsPublishingEnabled: true
 javaNamingFactoryInitial: org.apache.activemq.jndi.ActiveMQInitialContextFactory
 javaNamingProviderURL: tcp://localhost:61616
# javaNamingProviderURL: conf/jndi.properties
 connectionFactoryJNDIName: TopicConnectionFactory
 destinationJNDIName: topic0
 destinationType: topic
 staticMessageContent:
#  key: value





