Query 1 : I want to know can I configure an outbound File channel in B2B which can determine these attributes from directory structure?Yes. "Directory name format" in listening channel can be used for this case. For example, if file is being sent from tp OracleServices to tp MarketInc and Doc Type is "CustomXMLDocType" with version "1.0" then name of the directory should be - Oracle_Services_MarketInc_CustomXMLDocType_1.0 and "Directory name format" should be set to %FROM_PARTY%_%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.xml
Query 2 : Xml files contain sender and receiver identifiers as valid Xpath. Can these XPaths be configurable somewhere to indicate sender and receiver?Not supported as of now.