# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. # #Sample configuration file for broker #database realted settings (only applicable if 'broker.storage.type=persistent') #For mysql database configuration #broker.jdbc.driver=com.mysql.jdbc.Driver #broker.jdbc.url=jdbc:mysql://localhost:3306/wsmg?user=airavata&password=airavata #Default derby database configuration broker.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver broker.jdbc.url=jdbc:derby:wsmg;create=true;user=airavata;password=airavata #socket time out in milliseconds for sending messages. (defaults is 20000) broker.socket.timeout=60000 #broker.storage.type=persistent broker.storage.type=memory #specifies wether delivery component should be started or not. broker.start.delivery.thread=true #fixed thread pool based delivery #broker.delivery.method=pcrew #dynamic thread pool based delivery #broker.delivery.method=parallel #single thread delivery broker.delivery.method=serial #number of message delivery failures before a url become black listed (default is 2) #broker.msg.delivery.retries=2 #time period (in seconds) a url will be kept blacklisted (default is 5 seconds) #consumer.expiration.time.gap=5 #maximum number of messages to be send to a one consumer/url at time. #applicable if 'broker.delivery.method' is 'pcrew' . (default is 10) #sending.batch.size=10 #size of the thread pool. only applicable if 'broker.delivery.method' is 'pcrew'. (default is 4) #sending.thread.pool.size=4