Class MessageSettings.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Deprecated.
    • Method Detail

      • build

        public MessageSettings build()
        Deprecated.
        Build it.
        Returns:
        the message settings
      • maxDocumentSize

        public MessageSettings.Builder maxDocumentSize​(int maxDocumentSize)
        Deprecated.
        Sets the maximum document size allowed.
        Parameters:
        maxDocumentSize - the maximum document size allowed
        Returns:
        this
      • maxMessageSize

        public MessageSettings.Builder maxMessageSize​(int maxMessageSize)
        Deprecated.
        Sets the maximum message size allowed.
        Parameters:
        maxMessageSize - the maximum message size allowed
        Returns:
        this
      • maxBatchCount

        public MessageSettings.Builder maxBatchCount​(int maxBatchCount)
        Deprecated.
        Sets the maximum number of items in a batch allowed.
        Parameters:
        maxBatchCount - the maximum number of items in a batch allowed
        Returns:
        this