Package org.apache.camel.component.as2
Class AS2ClientManagerEndpointConfiguration
- java.lang.Object
-
- org.apache.camel.component.as2.AS2Configuration
-
- org.apache.camel.component.as2.AS2ClientManagerEndpointConfiguration
-
@ApiParams(apiName="client", producerOnly=true, description="Sends EDI Messages over HTTP", apiMethods=@ApiMethod(methodName="send",description="Send ediMessage to trading partner",signatures="org.apache.http.protocol.HttpCoreContext send(String ediMessage, String requestUri, String subject, String from, String as2From, String as2To, org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure, org.apache.http.entity.ContentType ediMessageContentType, String ediMessageTransferEncoding, org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm, java.security.cert.Certificate[] signingCertificateChain, java.security.PrivateKey signingPrivateKey, org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm, String dispositionNotificationTo, String[] signedReceiptMicAlgorithms, org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm, java.security.cert.Certificate[] encryptingCertificateChain, String attachedFileName)"), aliases={}) @UriParams @Configurer(extended=true) public final class AS2ClientManagerEndpointConfiguration extends AS2ConfigurationCamel endpoint configuration forAS2ClientManager.
-
-
Constructor Summary
Constructors Constructor Description AS2ClientManagerEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAs2From()org.apache.camel.component.as2.api.AS2MessageStructuregetAs2MessageStructure()StringgetAs2To()StringgetAttachedFileName()org.apache.camel.component.as2.api.AS2CompressionAlgorithmgetCompressionAlgorithm()StringgetDispositionNotificationTo()StringgetEdiMessage()org.apache.http.entity.ContentTypegetEdiMessageContentType()StringgetEdiMessageTransferEncoding()org.apache.camel.component.as2.api.AS2EncryptionAlgorithmgetEncryptingAlgorithm()Certificate[]getEncryptingCertificateChain()StringgetFrom()StringgetRequestUri()String[]getSignedReceiptMicAlgorithms()org.apache.camel.component.as2.api.AS2SignatureAlgorithmgetSigningAlgorithm()Certificate[]getSigningCertificateChain()PrivateKeygetSigningPrivateKey()StringgetSubject()voidsetAs2From(String as2From)The value of the AS2From header of AS2 message.voidsetAs2MessageStructure(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure)The structure of AS2 Message.voidsetAs2To(String as2To)The value of the AS2To header of AS2 message.voidsetAttachedFileName(String attachedFileName)The name of the attached filevoidsetCompressionAlgorithm(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm)The algorithm used to compress EDI message.voidsetDispositionNotificationTo(String dispositionNotificationTo)The value of the Disposition-Notification-To header.voidsetEdiMessage(String ediMessage)voidsetEdiMessageContentType(org.apache.http.entity.ContentType ediMessageContentType)voidsetEdiMessageTransferEncoding(String ediMessageTransferEncoding)The transfer encoding of EDI message.voidsetEncryptingAlgorithm(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm)The algorithm used to encrypt EDI message.voidsetEncryptingCertificateChain(Certificate[] encryptingCertificateChain)The chain of certificates used to encrypt EDI message.voidsetFrom(String from)The value of the From header of AS2 message.voidsetRequestUri(String requestUri)The request URI of EDI message.voidsetSignedReceiptMicAlgorithms(String[] signedReceiptMicAlgorithms)The list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN)voidsetSigningAlgorithm(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm)The algorithm used to sign EDI message.voidsetSigningCertificateChain(Certificate[] signingCertificateChain)The chain of certificates used to sign EDI message.voidsetSigningPrivateKey(PrivateKey signingPrivateKey)The key used to sign the EDI message.voidsetSubject(String subject)The value of Subject header of AS2 message.-
Methods inherited from class org.apache.camel.component.as2.AS2Configuration
getApiName, getAs2Version, getClientFqdn, getDecryptingPrivateKey, getEdiMessageType, getMdnMessageTemplate, getMethodName, getServer, getServerFqdn, getServerPortNumber, getTargetHostname, getTargetPortNumber, getUserAgent, setApiName, setAs2Version, setClientFqdn, setDecryptingPrivateKey, setEdiMessageType, setMdnMessageTemplate, setMethodName, setServer, setServerFqdn, setServerPortNumber, setTargetHostname, setTargetPortNumber, setUserAgent
-
-
-
-
Method Detail
-
getAs2From
public String getAs2From()
- Overrides:
getAs2Fromin classAS2Configuration
-
setAs2From
public void setAs2From(String as2From)
Description copied from class:AS2ConfigurationThe value of the AS2From header of AS2 message.- Overrides:
setAs2Fromin classAS2Configuration
-
getAs2MessageStructure
public org.apache.camel.component.as2.api.AS2MessageStructure getAs2MessageStructure()
- Overrides:
getAs2MessageStructurein classAS2Configuration
-
setAs2MessageStructure
public void setAs2MessageStructure(org.apache.camel.component.as2.api.AS2MessageStructure as2MessageStructure)
Description copied from class:AS2ConfigurationThe structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature- Overrides:
setAs2MessageStructurein classAS2Configuration
-
getAs2To
public String getAs2To()
- Overrides:
getAs2Toin classAS2Configuration
-
setAs2To
public void setAs2To(String as2To)
Description copied from class:AS2ConfigurationThe value of the AS2To header of AS2 message.- Overrides:
setAs2Toin classAS2Configuration
-
getAttachedFileName
public String getAttachedFileName()
- Overrides:
getAttachedFileNamein classAS2Configuration
-
setAttachedFileName
public void setAttachedFileName(String attachedFileName)
Description copied from class:AS2ConfigurationThe name of the attached file- Overrides:
setAttachedFileNamein classAS2Configuration
-
getCompressionAlgorithm
public org.apache.camel.component.as2.api.AS2CompressionAlgorithm getCompressionAlgorithm()
- Overrides:
getCompressionAlgorithmin classAS2Configuration
-
setCompressionAlgorithm
public void setCompressionAlgorithm(org.apache.camel.component.as2.api.AS2CompressionAlgorithm compressionAlgorithm)
Description copied from class:AS2ConfigurationThe algorithm used to compress EDI message.- Overrides:
setCompressionAlgorithmin classAS2Configuration
-
getDispositionNotificationTo
public String getDispositionNotificationTo()
- Overrides:
getDispositionNotificationToin classAS2Configuration
-
setDispositionNotificationTo
public void setDispositionNotificationTo(String dispositionNotificationTo)
Description copied from class:AS2ConfigurationThe value of the Disposition-Notification-To header. Assigning a value to this parameter requests a message disposition notification (MDN) for the AS2 message.- Overrides:
setDispositionNotificationToin classAS2Configuration
-
getEdiMessage
public String getEdiMessage()
-
setEdiMessage
public void setEdiMessage(String ediMessage)
-
getEdiMessageContentType
public org.apache.http.entity.ContentType getEdiMessageContentType()
-
setEdiMessageContentType
public void setEdiMessageContentType(org.apache.http.entity.ContentType ediMessageContentType)
-
getEdiMessageTransferEncoding
public String getEdiMessageTransferEncoding()
- Overrides:
getEdiMessageTransferEncodingin classAS2Configuration
-
setEdiMessageTransferEncoding
public void setEdiMessageTransferEncoding(String ediMessageTransferEncoding)
Description copied from class:AS2ConfigurationThe transfer encoding of EDI message.- Overrides:
setEdiMessageTransferEncodingin classAS2Configuration
-
getEncryptingAlgorithm
public org.apache.camel.component.as2.api.AS2EncryptionAlgorithm getEncryptingAlgorithm()
- Overrides:
getEncryptingAlgorithmin classAS2Configuration
-
setEncryptingAlgorithm
public void setEncryptingAlgorithm(org.apache.camel.component.as2.api.AS2EncryptionAlgorithm encryptingAlgorithm)
Description copied from class:AS2ConfigurationThe algorithm used to encrypt EDI message.- Overrides:
setEncryptingAlgorithmin classAS2Configuration
-
getEncryptingCertificateChain
public Certificate[] getEncryptingCertificateChain()
- Overrides:
getEncryptingCertificateChainin classAS2Configuration
-
setEncryptingCertificateChain
public void setEncryptingCertificateChain(Certificate[] encryptingCertificateChain)
Description copied from class:AS2ConfigurationThe chain of certificates used to encrypt EDI message.- Overrides:
setEncryptingCertificateChainin classAS2Configuration
-
getFrom
public String getFrom()
- Overrides:
getFromin classAS2Configuration
-
setFrom
public void setFrom(String from)
Description copied from class:AS2ConfigurationThe value of the From header of AS2 message.- Overrides:
setFromin classAS2Configuration
-
getRequestUri
public String getRequestUri()
- Overrides:
getRequestUriin classAS2Configuration
-
setRequestUri
public void setRequestUri(String requestUri)
Description copied from class:AS2ConfigurationThe request URI of EDI message.- Overrides:
setRequestUriin classAS2Configuration
-
getSignedReceiptMicAlgorithms
public String[] getSignedReceiptMicAlgorithms()
- Overrides:
getSignedReceiptMicAlgorithmsin classAS2Configuration
-
setSignedReceiptMicAlgorithms
public void setSignedReceiptMicAlgorithms(String[] signedReceiptMicAlgorithms)
Description copied from class:AS2ConfigurationThe list of algorithms, in order of preference, requested to generate a message integrity check (MIC) returned in message dispostion notification (MDN)- Overrides:
setSignedReceiptMicAlgorithmsin classAS2Configuration
-
getSigningAlgorithm
public org.apache.camel.component.as2.api.AS2SignatureAlgorithm getSigningAlgorithm()
- Overrides:
getSigningAlgorithmin classAS2Configuration
-
setSigningAlgorithm
public void setSigningAlgorithm(org.apache.camel.component.as2.api.AS2SignatureAlgorithm signingAlgorithm)
Description copied from class:AS2ConfigurationThe algorithm used to sign EDI message.- Overrides:
setSigningAlgorithmin classAS2Configuration
-
getSigningCertificateChain
public Certificate[] getSigningCertificateChain()
- Overrides:
getSigningCertificateChainin classAS2Configuration
-
setSigningCertificateChain
public void setSigningCertificateChain(Certificate[] signingCertificateChain)
Description copied from class:AS2ConfigurationThe chain of certificates used to sign EDI message.- Overrides:
setSigningCertificateChainin classAS2Configuration
-
getSigningPrivateKey
public PrivateKey getSigningPrivateKey()
- Overrides:
getSigningPrivateKeyin classAS2Configuration
-
setSigningPrivateKey
public void setSigningPrivateKey(PrivateKey signingPrivateKey)
Description copied from class:AS2ConfigurationThe key used to sign the EDI message.- Overrides:
setSigningPrivateKeyin classAS2Configuration
-
getSubject
public String getSubject()
- Overrides:
getSubjectin classAS2Configuration
-
setSubject
public void setSubject(String subject)
Description copied from class:AS2ConfigurationThe value of Subject header of AS2 message.- Overrides:
setSubjectin classAS2Configuration
-
-