注释类型 ExtRocketMQTemplateConfiguration

    • 元素详细资料

      • value

        String value
        The component name of the Producer configuration.
        默认值:
        ""
      • nameServer

        String nameServer
        The property of "name-server".
        默认值:
        "${rocketmq.name-server:}"
      • group

        String group
        Name of producer.
        默认值:
        "${rocketmq.producer.group:}"
      • sendMessageTimeout

        int sendMessageTimeout
        Millis of send message timeout.
        默认值:
        -1
      • compressMessageBodyThreshold

        int compressMessageBodyThreshold
        Compress message body threshold, namely, message body larger than 4k will be compressed on default.
        默认值:
        -1
      • retryTimesWhenSendFailed

        int retryTimesWhenSendFailed
        Maximum number of retry to perform internally before claiming sending failure in synchronous mode. This may potentially cause message duplication which is up to application developers to resolve.
        默认值:
        -1
      • retryTimesWhenSendAsyncFailed

        int retryTimesWhenSendAsyncFailed

        Maximum number of retry to perform internally before claiming sending failure in asynchronous mode.

        This may potentially cause message duplication which is up to application developers to resolve.
        默认值:
        -1
      • retryNextServer

        boolean retryNextServer
        Indicate whether to retry another broker on sending failure internally.
        默认值:
        false
      • maxMessageSize

        int maxMessageSize
        Maximum allowed message size in bytes.
        默认值:
        -1
      • accessKey

        String accessKey
        The property of "access-key".
        默认值:
        "${rocketmq.producer.accessKey:}"
      • secretKey

        String secretKey
        The property of "secret-key".
        默认值:
        "${rocketmq.producer.secretKey:}"
      • enableMsgTrace

        boolean enableMsgTrace
        Switch flag instance for message trace.
        默认值:
        false
      • customizedTraceTopic

        String customizedTraceTopic
        The name value of message trace topic.If you don't config,you can use the default trace topic name.
        默认值:
        "${rocketmq.producer.customized-trace-topic:}"
      • tlsEnable

        String tlsEnable
        The property of "tlsEnable" default false.
        默认值:
        "false"
      • namespace

        String namespace
        The namespace of producer.
        默认值:
        ""
      • namespaceV2

        String namespaceV2
        The namespace v2 version of producer, it can not be used in combination with namespace.
        默认值:
        ""
      • instanceName

        String instanceName
        The property of "instanceName".
        默认值:
        "DEFAULT"