Interface AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    AS2EndpointBuilderFactory.AS2EndpointBuilder
    Enclosing interface:
    AS2EndpointBuilderFactory

    public static interface AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the AS2 component.
    • Method Detail

      • as2MessageStructure

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder as2MessageStructure​(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure)
        The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature. The option is a: <code>org.apache.camel.component.as2.api.AS2MessageStructure</code> type. Group: common
        Parameters:
        as2MessageStructure - the value to set
        Returns:
        the dsl builder
      • as2MessageStructure

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder as2MessageStructure​(String as2MessageStructure)
        The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2MessageStructure</code> type. Group: common
        Parameters:
        as2MessageStructure - the value to set
        Returns:
        the dsl builder
      • attachedFileName

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder attachedFileName​(String attachedFileName)
        The name of the attached file. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        attachedFileName - the value to set
        Returns:
        the dsl builder
      • clientFqdn

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder clientFqdn​(String clientFqdn)
        The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. The option is a: <code>java.lang.String</code> type. Default: camel.apache.org Group: common
        Parameters:
        clientFqdn - the value to set
        Returns:
        the dsl builder
      • compressionAlgorithm

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder compressionAlgorithm​(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm)
        The algorithm used to compress EDI message. The option is a: <code>org.apache.camel.component.as2.api.AS2CompressionAlgorithm</code> type. Group: common
        Parameters:
        compressionAlgorithm - the value to set
        Returns:
        the dsl builder
      • compressionAlgorithm

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder compressionAlgorithm​(String compressionAlgorithm)
        The algorithm used to compress EDI message. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2CompressionAlgorithm</code> type. Group: common
        Parameters:
        compressionAlgorithm - the value to set
        Returns:
        the dsl builder
      • decryptingPrivateKey

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder decryptingPrivateKey​(PrivateKey decryptingPrivateKey)
        The key used to encrypt the EDI message. The option is a: <code>java.security.PrivateKey</code> type. Group: common
        Parameters:
        decryptingPrivateKey - the value to set
        Returns:
        the dsl builder
      • decryptingPrivateKey

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder decryptingPrivateKey​(String decryptingPrivateKey)
        The key used to encrypt the EDI message. The option will be converted to a <code>java.security.PrivateKey</code> type. Group: common
        Parameters:
        decryptingPrivateKey - the value to set
        Returns:
        the dsl builder
      • dispositionNotificationTo

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder dispositionNotificationTo​(String dispositionNotificationTo)
        The value of the Disposition-Notification-To header. Assigning a value to this parameter requests a message disposition notification (MDN) for the AS2 message. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        dispositionNotificationTo - the value to set
        Returns:
        the dsl builder
      • ediMessageTransferEncoding

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder ediMessageTransferEncoding​(String ediMessageTransferEncoding)
        The transfer encoding of EDI message. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        ediMessageTransferEncoding - the value to set
        Returns:
        the dsl builder
      • ediMessageType

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder ediMessageType​(org.apache.http.entity.ContentType ediMessageType)
        The content type of EDI message. One of application/edifact, application/edi-x12, application/edi-consent. The option is a: <code>org.apache.http.entity.ContentType</code> type. Group: common
        Parameters:
        ediMessageType - the value to set
        Returns:
        the dsl builder
      • ediMessageType

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder ediMessageType​(String ediMessageType)
        The content type of EDI message. One of application/edifact, application/edi-x12, application/edi-consent. The option will be converted to a <code>org.apache.http.entity.ContentType</code> type. Group: common
        Parameters:
        ediMessageType - the value to set
        Returns:
        the dsl builder
      • encryptingAlgorithm

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder encryptingAlgorithm​(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm)
        The algorithm used to encrypt EDI message. The option is a: <code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code> type. Group: common
        Parameters:
        encryptingAlgorithm - the value to set
        Returns:
        the dsl builder
      • encryptingAlgorithm

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder encryptingAlgorithm​(String encryptingAlgorithm)
        The algorithm used to encrypt EDI message. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2EncryptionAlgorithm</code> type. Group: common
        Parameters:
        encryptingAlgorithm - the value to set
        Returns:
        the dsl builder
      • encryptingCertificateChain

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder encryptingCertificateChain​(Certificate[] encryptingCertificateChain)
        The chain of certificates used to encrypt EDI message. The option is a: <code>java.security.cert.Certificate[]</code> type. Group: common
        Parameters:
        encryptingCertificateChain - the value to set
        Returns:
        the dsl builder
      • encryptingCertificateChain

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder encryptingCertificateChain​(String encryptingCertificateChain)
        The chain of certificates used to encrypt EDI message. The option will be converted to a <code>java.security.cert.Certificate[]</code> type. Group: common
        Parameters:
        encryptingCertificateChain - the value to set
        Returns:
        the dsl builder
      • inBody

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder inBody​(String inBody)
        Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        inBody - the value to set
        Returns:
        the dsl builder
      • mdnMessageTemplate

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder mdnMessageTemplate​(String mdnMessageTemplate)
        The template used to format MDN message. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        mdnMessageTemplate - the value to set
        Returns:
        the dsl builder
      • server

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder server​(String server)
        The value included in the Server message header identifying the AS2 Server. The option is a: <code>java.lang.String</code> type. Default: Camel AS2 Server Endpoint Group: common
        Parameters:
        server - the value to set
        Returns:
        the dsl builder
      • serverFqdn

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder serverFqdn​(String serverFqdn)
        The Server Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. The option is a: <code>java.lang.String</code> type. Default: camel.apache.org Group: common
        Parameters:
        serverFqdn - the value to set
        Returns:
        the dsl builder
      • serverPortNumber

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder serverPortNumber​(Integer serverPortNumber)
        The port number of server. The option is a: <code>java.lang.Integer</code> type. Group: common
        Parameters:
        serverPortNumber - the value to set
        Returns:
        the dsl builder
      • serverPortNumber

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder serverPortNumber​(String serverPortNumber)
        The port number of server. The option will be converted to a <code>java.lang.Integer</code> type. Group: common
        Parameters:
        serverPortNumber - the value to set
        Returns:
        the dsl builder
      • signedReceiptMicAlgorithms

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signedReceiptMicAlgorithms​(String[] signedReceiptMicAlgorithms)
        The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN). The option is a: <code>java.lang.String[]</code> type. Group: common
        Parameters:
        signedReceiptMicAlgorithms - the value to set
        Returns:
        the dsl builder
      • signedReceiptMicAlgorithms

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signedReceiptMicAlgorithms​(String signedReceiptMicAlgorithms)
        The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN). The option will be converted to a <code>java.lang.String[]</code> type. Group: common
        Parameters:
        signedReceiptMicAlgorithms - the value to set
        Returns:
        the dsl builder
      • signingAlgorithm

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signingAlgorithm​(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm)
        The algorithm used to sign EDI message. The option is a: <code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code> type. Group: common
        Parameters:
        signingAlgorithm - the value to set
        Returns:
        the dsl builder
      • signingAlgorithm

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signingAlgorithm​(String signingAlgorithm)
        The algorithm used to sign EDI message. The option will be converted to a <code>org.apache.camel.component.as2.api.AS2SignatureAlgorithm</code> type. Group: common
        Parameters:
        signingAlgorithm - the value to set
        Returns:
        the dsl builder
      • signingCertificateChain

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signingCertificateChain​(Certificate[] signingCertificateChain)
        The chain of certificates used to sign EDI message. The option is a: <code>java.security.cert.Certificate[]</code> type. Group: common
        Parameters:
        signingCertificateChain - the value to set
        Returns:
        the dsl builder
      • signingCertificateChain

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signingCertificateChain​(String signingCertificateChain)
        The chain of certificates used to sign EDI message. The option will be converted to a <code>java.security.cert.Certificate[]</code> type. Group: common
        Parameters:
        signingCertificateChain - the value to set
        Returns:
        the dsl builder
      • signingPrivateKey

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signingPrivateKey​(PrivateKey signingPrivateKey)
        The key used to sign the EDI message. The option is a: <code>java.security.PrivateKey</code> type. Group: common
        Parameters:
        signingPrivateKey - the value to set
        Returns:
        the dsl builder
      • signingPrivateKey

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder signingPrivateKey​(String signingPrivateKey)
        The key used to sign the EDI message. The option will be converted to a <code>java.security.PrivateKey</code> type. Group: common
        Parameters:
        signingPrivateKey - the value to set
        Returns:
        the dsl builder
      • targetHostname

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder targetHostname​(String targetHostname)
        The host name (IP or DNS name) of target host. The option is a: <code>java.lang.String</code> type. Group: common
        Parameters:
        targetHostname - the value to set
        Returns:
        the dsl builder
      • targetPortNumber

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder targetPortNumber​(Integer targetPortNumber)
        The port number of target host. -1 indicates the scheme default port. The option is a: <code>java.lang.Integer</code> type. Group: common
        Parameters:
        targetPortNumber - the value to set
        Returns:
        the dsl builder
      • targetPortNumber

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder targetPortNumber​(String targetPortNumber)
        The port number of target host. -1 indicates the scheme default port. The option will be converted to a <code>java.lang.Integer</code> type. Group: common
        Parameters:
        targetPortNumber - the value to set
        Returns:
        the dsl builder
      • userAgent

        default AS2EndpointBuilderFactory.AS2EndpointConsumerBuilder userAgent​(String userAgent)
        The value included in the User-Agent message header identifying the AS2 user agent. The option is a: <code>java.lang.String</code> type. Default: Camel AS2 Client Endpoint Group: common
        Parameters:
        userAgent - the value to set
        Returns:
        the dsl builder