Hi,

to ensure the output filename of a vfs endpoint is unique I'd like to add
the uuid to the filename.
How can I access the messages uuid from a sequence?



I'm already able to add the current time including ms to the name, but for
messages handled in parallel this still could give collisions.
I the filename below I'd like to append the urn:uuid.

  <syn:property name="transport.vfs.ReplyFileName"
expression="fn:concat('B_',get-property('SYSTEM_DATE',
'yyyyMMdd_HHmmss_'),fn:substring(get-property('SYSTEM_TIME'),8,6),'.xml')"
scope="transport"/>
        <syn:send>
            <syn:endpoint>
                <syn:address uri="vfs:file:///home/incoming/inbox"
format="pox"/>
            </syn:endpoint>
        </syn:send>


Regards,
Harm
_______________________________________________
Esb-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to