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.qpidmq;
017
018import io.jboot.app.config.annotation.ConfigModel;
019
020@ConfigModel(prefix = "jboot.mq.qpid")
021public class JbootQpidmqConfig {
022    /**
023     * 默认账号 admin
024     */
025    private String username;
026
027    /**
028     * 默认密码 admin
029     */
030    private String password;
031
032    private String host = "127.0.0.1:5672";
033
034    private String virtualHost;
035
036    private boolean serializerEnable = true;
037
038    public String getUsername() {
039        return username;
040    }
041
042    public void setUsername(String username) {
043        this.username = username;
044    }
045
046    public String getPassword() {
047        return password;
048    }
049
050    public void setPassword(String password) {
051        this.password = password;
052    }
053
054    public String getHost() {
055        return host;
056    }
057
058    public void setHost(String host) {
059        this.host = host;
060    }
061
062    public String getVirtualHost() {
063        return virtualHost;
064    }
065
066    public void setVirtualHost(String virtualHost) {
067        this.virtualHost = virtualHost;
068    }
069
070    public boolean isSerializerEnable() {
071        return serializerEnable;
072    }
073
074    public void setSerializerEnable(boolean serializerEnable) {
075        this.serializerEnable = serializerEnable;
076    }
077}