Search:

Type: Posts; User: Jim Collins; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    691

    Hi Marten, Looking at the FlowJob I am still...

    Hi Marten,

    Looking at the FlowJob I am still not sure if it is thread safe to call the FlowJob twice. I have set the ItemReader to step-scope and I can now see the output from both files when I...
  2. Replies
    3
    Views
    691

    Thanks Marten. I was looking at changing the...

    Thanks Marten. I was looking at changing the scope of the Job to prototype but will try step-scope. I missed that in the docs :)
  3. Replies
    3
    Views
    691

    Running same batch concurrently

    Hi,

    I want to be able to run the same batch definition concurrently with different input files. I have a number of folders that I monitor and each time for every file I find I create a new...
  4. You can use Quartz. You can set it up so that it...

    You can use Quartz. You can set it up so that it will not start the new batch until the previous one has finished.
  5. Replies
    2
    Views
    347

    Hi, Look at JdbcCursorItemReader. You want to...

    Hi,

    Look at JdbcCursorItemReader. You want to do something similar to this instead of connecting to a database though you will be getting the resultset from the WebService you call.

    Regards
    ...
  6. Replies
    2
    Views
    321

    I should have looked at the samples before...

    I should have looked at the samples before posting :)

    This can be achieved using batch:decision.
  7. Replies
    5
    Views
    694

    Hi, Looking at the docs you need to ensure...

    Hi,

    Looking at the docs you need to ensure that transactional resources are not rolled back when you throw the exception in the ItemWriter.

    Regards

    Jim
  8. Replies
    5
    Views
    694

    The rollback can cause onSkipInRead to be called...

    The rollback can cause onSkipInRead to be called multiple times.

    Could that be the reason?

    Regards

    Jim
  9. Replies
    2
    Views
    321

    One other thing at the start of the Job I will be...

    One other thing at the start of the Job I will be adding an Object to the Job execution context that contains all the dynamic properties of the batch. This will include a list of the files to be...
  10. Replies
    2
    Views
    321

    Conditional Flow to same step

    Hi,

    I am trying to program a dynamic batch that processes flat files. The delimeters and columns are retrieved from a database. Also the number of files in a batch is also dynamic.

    What I...
  11. Replies
    2
    Views
    598

    Thanks Michael.

    Thanks Michael.
  12. Replies
    2
    Views
    598

    Dynamic fields in ItemFileReader

    Hi,

    I am updating a batch application that I want to port Spring Batch. At the moment when a file is processed the required fields in the file and the location of the files are downloaded from a...
  13. PropertyPlaceholderConfigurer question

    Hi I have a bit of a chicken and egg scenario here. I am using Spring Batch and have a Tasklet that runs some SQL that is passed in as a property. One of the properties of the Tasklet is some SQL I...
  14. Replies
    4
    Views
    3,989

    I am using the marshaller and unmarshaller. I...

    I am using the marshaller and unmarshaller. I tried to set the useAttributeFor property on XStreamMarshaller using the same mechanism as you do for setting the aliases. This did not work for me and I...
  15. Replies
    4
    Views
    3,989

    Hi Dave. Do you have any examples of using...

    Hi Dave. Do you have any examples of using attributeAlias? I am trying to do the same thing.

    Thanks

    Jim
Results 1 to 15 of 15