Results 1 to 2 of 2

Thread: Clearing a xml File

  1. #1
    Join Date
    Sep 2008
    Posts
    9

    Default Clearing a xml File

    Hi

    I have a job with two steps

    First step reads data and writes it to a xml file

    Second step is a service call from Tasklet which if fails, I need to clear the xml file of Step 1

    Any suggestions.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    Can't you just catch exceptions in your Tasklet and delete the file?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •