If you're configuring in the section 'Configure my AS2 station' in an AS2 connection, you wouldn't need to explicitly mention the port number.
If you're configuring in the section 'Configure partner AS2 station' in an AS2 connection, you could append the port number with this delimiter ' : '. Example, https://sample.com:2002
We are supposed to receive various types of EDIFACT files from the source via AS2. Should we have only one AS2 listener to receive all the files and then branch them out? This could be problematic since all EDI files have different definitions.
Secondly, if I create multiple flows for each EDI file, I am wondering how I can prevent all the listeners from receiving the file, as the AS2 export is set up as a listener and there is no filter option.
You can just create one AS2 listener for all the different document types and route them to the appropriate flow using this special feature of AS2 - 'Content based routing'. With help of this even though you are receiving different types of documents to the same AS2 listener, it shall read through the message and route it to the appropriate flow based on the configuration
In the Content based router, you can provide the unique field that helps you differentiate from one document type to other and assign it to the respective Flow and Export
This article should help you create the Routing rules for AS2.
Comments
Thankyou! Sreenesh Reddy C
One more question:
We are supposed to receive various types of EDIFACT files from the source via AS2. Should we have only one AS2 listener to receive all the files and then branch them out? This could be problematic since all EDI files have different definitions.
Secondly, if I create multiple flows for each EDI file, I am wondering how I can prevent all the listeners from receiving the file, as the AS2 export is set up as a listener and there is no filter option.
You can just create one AS2 listener for all the different document types and route them to the appropriate flow using this special feature of AS2 - 'Content based routing'. With help of this even though you are receiving different types of documents to the same AS2 listener, it shall read through the message and route it to the appropriate flow based on the configuration
In the Content based router, you can provide the unique field that helps you differentiate from one document type to other and assign it to the respective Flow and Export
This article should help you create the Routing rules for AS2.
Please sign in to leave a comment.