java.lang.Object | |
↳ | com.modus.mule.modules.as2.AS2Connector |
![]() |
![]() |
The AS2 Connector allows you to send and receive data from AS2 certified servers.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | KEY_STORE_PASSWORD_FRIENDLY_NAME | ||||||||||
String | KEY_STORE_PASSWORD_SUMMARY | ||||||||||
String | KEY_STORE_PATH_FRIENDLY_NAME |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
as2ClientFactory | |||||||||||
as2Server | |||||||||||
b2bProvider | |||||||||||
connectorContext | |||||||||||
httpEndpointRef | Global HTTP endpoint reference from where the connector will read or write messages to. | ||||||||||
muleContext | |||||||||||
useB2BProvider | Integrate with Anypoint B2B platform to manage your AS2 Connector and record AS2 transmissions. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Receive AS2 messages.
| |||||||||||
Send AS2 messages using the current Mule Message payload for the message's content.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Global HTTP endpoint reference from where the connector will read or write messages to.
Integrate with Anypoint B2B platform to manage your AS2 Connector and record AS2 transmissions. The B2B Connector must be set up before enabling this feature.
Receive AS2 messages.
callback | Callback to be invoked when a message is received. |
---|---|
receiptSubject | Human readable string summarizing the receipt. |
requireSenderCompress | Specify whether the request received must be compressed. |
requireSenderAs2From | Required sender AS2 identifier in the request. |
requireSenderAs2To | Required receiver AS2 identifier in the request. |
keyStorePath | Path of the JKS key store containing the certificate and public/private key pair for verifying and decrypting the request as well as signing the receipt. If the key store cannot be retrieved from the filesystem, the connector tries to receive it from the Java classpath. |
keyStorePassword | Password protecting the key store. |
requireSenderSigns | Specify whether the request received must be signed. |
requireSenderEncrypts | Specify whether the request received must be encrypted. |
preferredDigestAlgorithm | Specify the preferred digest algorithm to use. |
invokeFlowBeforeSendReceipt | Name of the flow to invoke after processing an AS2 request but before sending receipt to sender. If the invoked flow throws an exception, then a 500 HTTP status code is returned to the sender. |
AS2ConnectorException | Wraps any internal error that might occur |
---|
Send AS2 messages using the current Mule Message payload for the message's content.
messageId | Specify the value for the Message-Id header. The ID is generated when this property is not set. |
---|---|
subject | Human readable string summarizing the request. |
contentType | Content-Type of the message payload. |
contentTransferEncoding | Content-Transfer-Encoding of the message payload. Only applicable for signed or encrypted requests. |
filename | Filename set in the Content-Disposition header. Only applicable for signed or encrypted requests. |
receiptTimeout | Wait time, in milliseconds, for receipt. |
compress | Specify whether to compress the message payload. |
as2From | AS2 identifier of the sender. |
as2To | AS2 identifier of the receiver. |
keyStorePath | Path of the JKS key store containing the certificate and public/private key pair for signing and encrypting the request as well as verifying the receipt. If the key store cannot be retrieved from the filesystem, the connector tries to receive it from the Java classpath. |
keyStorePassword | Password protecting the key store. |
receiptVerificationCertificateKeyStoreEntryAlias | Key store entry alias of the certificate used to verify the signed receipt. This option must be set if distinct certificates are used to encrypt the request and verify the returned receipt. |
asyncReceiptTlsCertificateKeyStoreEntryAlias | Key store entry alias of the certificate to present to the sender when receiving an async receipt over HTTPs. |
requestReceipt | Specify whether to request a receipt. |
sign | Specify whether to sign the request. |
encrypt | Specify whether to encrypt the request. |
requireReceiptForUnsupportedSignatureFormat | Specify whether the receiver should return a receipt in case the receiver could not sign the receipt. |
requireReceiptForUnsupportedDigestAlgorithm | Specify whether the receiver should return a receipt in case the receiver could not add the MIC to the receipt. |
digestAlgorithm | Specify the preferred digest algorithm the receiver uses to create the MIC and the signature. |
fallbackDigestAlgorithm | Specify the fallback digest algorithm the receiver uses to create the MIC and the signature. |
receiptDeliveryOption | Return URL the receiver uses to send the receipt. |
muleEvent |
AS2ConnectorException | Wraps any internal error that might occur |
---|
httpEndpointRef |
---|
muleContext |
---|
useB2BProvider |
---|