我在哪里可以找到logging-channel-adapter的文档?

时间:2013-02-26 20:11:11

标签: java spring-integration

参考手册仅提及三次,并没有很好地列出配置选项。例如,有没有办法设置日志记录类别?

1 个答案:

答案 0 :(得分:2)

有关可用属性,请参阅架构文档;例如......

    <xsd:attribute name="logger-name" type="xsd:string">
        <xsd:annotation>
            <xsd:documentation>
                Provide a name for the logger. This is useful when there are multiple logging Channel Adapters configured,
                and you would like to differentiate them within the actual log. By default the logger name will be the
                fully qualified class name of the LoggingHandler implementation.
            </xsd:documentation>
        </xsd:annotation>
    </xsd:attribute>

大多数IDE上下文辅助在创建元素时都会提供此文档。

但是,请随意打开“文档”问题https://jira.springsource.org/browse/INT