With a Petals topology composed of 2 containers:
1 - if a file is read with operation 'getAsAttachment' or 'mget' by the BC FileTranfer on a container,
2 - the file as attachment can not be processed by another service on the other container,
3 - the file as attachment can be correctly processed on a service located on the container where the BC FileTransfer is installed
The problem is due to the 'DataHandler' used to store the file as attachment. A 'DataHandler' based on a 'FileDataSource' is used. This data source transmits only a reference to the file. And so the file can not be accessed by this reference from another machine where the other Petals container is running.
We should use an 'ByteArrayDataSource' instead of 'FileDataSource' even if the memory footprint is bigger.