on 06-25-2015 1:02 PM
Hi experts good evening.
In my JDBC to file scenario I want to add time stamp to my file in YYYYMMDDHHMMSS in this format. I used Add timestamp option in file receiver communication channel. But It is generating in YYYYMMDD-HHMMSS-MS. But I don't want this format. Please help me on this.
Regards,
Anji Reddy
You should go for dynamic configuration UDF to set the filename dynamically.
Please search for Dynamic filename UDF, you'll find lot of blogs on the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anji,
Please go for dynamic configuration mechanism and add the time stamp accordingly at mapping level.
Let me know if you want the udf code for it.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anji,
The fastest way is the way proposed by Hareesh. Also, you can do it with OS batch file or with an own module bean as Roger Allue explains and shares the code in his blog
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.