001/** 002 * Copyright (c) 2015-2022, Michael Yang 杨福海 (fuhai999@gmail.com). 003 * <p> 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * <p> 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * <p> 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package io.jboot.components.mq.aliyunmq; 017 018import io.jboot.app.config.annotation.ConfigModel; 019 020 021@ConfigModel(prefix = "jboot.mq.aliyun") 022public class JbootAliyunmqConfig { 023 024 private String accessKey; 025 private String secretKey; 026 private String producerId; 027 private String addr; 028 private String sendMsgTimeoutMillis = "3000"; 029 030 private String broadcastChannelPrefix = "broadcast-"; 031 032 private String subscribeSubExpression = "*"; 033 034 private String instanceName; 035 036 037 public String getAccessKey() { 038 return accessKey; 039 } 040 041 public void setAccessKey(String accessKey) { 042 this.accessKey = accessKey; 043 } 044 045 public String getSecretKey() { 046 return secretKey; 047 } 048 049 public void setSecretKey(String secretKey) { 050 this.secretKey = secretKey; 051 } 052 053 public String getProducerId() { 054 return producerId; 055 } 056 057 public void setProducerId(String producerId) { 058 this.producerId = producerId; 059 } 060 061 public String getAddr() { 062 return addr; 063 } 064 065 public void setAddr(String addr) { 066 this.addr = addr; 067 } 068 069 public String getSendMsgTimeoutMillis() { 070 return sendMsgTimeoutMillis; 071 } 072 073 public void setSendMsgTimeoutMillis(String sendMsgTimeoutMillis) { 074 this.sendMsgTimeoutMillis = sendMsgTimeoutMillis; 075 } 076 077 public String getBroadcastChannelPrefix() { 078 return broadcastChannelPrefix; 079 } 080 081 public void setBroadcastChannelPrefix(String broadcastChannelPrefix) { 082 this.broadcastChannelPrefix = broadcastChannelPrefix; 083 } 084 085 public String getSubscribeSubExpression() { 086 return subscribeSubExpression; 087 } 088 089 public void setSubscribeSubExpression(String subscribeSubExpression) { 090 this.subscribeSubExpression = subscribeSubExpression; 091 } 092 093 public String getInstanceName() { 094 return instanceName; 095 } 096 097 public void setInstanceName(String instanceName) { 098 this.instanceName = instanceName; 099 } 100}