Search:

Type: Posts; User: ramesh.kasarla; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    682

    spring batch admin

    Hi,

    How can i use spring batch admin for spring batch2.0

    i want to work on spring batch admin, can any one let me know what are the necessary changes to be done and its impact...

    thanks,...
  2. Replies
    1
    Views
    755

    File check and movement

    Hi,

    Please provide solution for the given scenario::==

    I am using MultiResourceItemReader to read multiple text files(assume more than 10 files), in each file i may have n number of batches(a...
  3. Replies
    1
    Views
    618

    Hi, can any one help me out on this issue. ...

    Hi,

    can any one help me out on this issue.

    I am using multiresourceitemreader as delegate in my reader class and able to process multiple files.

    In my processor class, i do validation and...
  4. Replies
    1
    Views
    618

    File movement

    Hi,

    I am using MultiResourceReader to read multiple files.

    After successfull processing of each file, i want to move the files to other location.
    Ex. if successfully processed file, want to...
  5. Replies
    1
    Views
    580

    Any help on file parsing, if i get empty fields...

    Any help on file parsing, if i get empty fields in the expected values, the file should still be parsed , but the corresponding elements should have null value in the POJO
  6. Replies
    2
    Views
    677

    Thanks Dan, I tried to retrive from setter...

    Thanks Dan,

    I tried to retrive from setter method. I have FlatFileItemReader instance(setter), but Resource is PRIVATE in FlatFileItemReader, due to which i am unable to retreive the filename.
    ...
  7. Replies
    1
    Views
    580

    File Parsing

    Hi,

    My Input is a text file. I have used the file line tokenizer to divide the elements on the input lines.

    I can get n number of lines in a file. and each line length will be 300characters, if...
  8. Replies
    2
    Views
    677

    Input file name

    Hi,

    In jobs.xml i have configured filename to read.

    How can i dynamically retreive the file name in any of my classes(reader or processor or writer).

    please let me know piece of code.
    ...
  9. Please update the xsi location accordingly in...

    Please update the xsi location accordingly in your application context, and then it should work fine

    Thanks,
    Ramesh Kumar Kasarla
  10. Thread: BatchId

    by ramesh.kasarla
    Replies
    2
    Views
    683

    Its working. Thanks Garrette

    Its working.

    Thanks Garrette
  11. Thread: BatchId

    by ramesh.kasarla
    Replies
    2
    Views
    683

    BatchId

    Hi,

    When i run a batchJob, a jobExecutionId will be generated in BATCH_JOB_EXECUTION table in DB, how can i retrieve this id(which is created now) dynamically.

    I want this id to be retreived...
  12. Replies
    2
    Views
    611

    Thanks Garrette, If i return null in...

    Thanks Garrette,

    If i return null in processor, will all the exception records be available to ExceptionProcessing Service(means all bad records should go to this service).

    And if suppose if i...
  13. Replies
    2
    Views
    611

    Exception Processing

    Hi,
    My input file is flat file and i am doing validation(to check whether the input data is valid or not) in processor and invoking other service in writer class.

    What is the best way to have...
  14. Read continuously and predict errors

    Hi,

    I am using SpringBatch2.0 and my input file is a flat file.

    I am using FlatFileItemReader to read the input text file.

    Can we read continuously and stop when the line is of different...
  15. Thanks for ur reply, The problem is not with...

    Thanks for ur reply,

    The problem is not with the pattern, its to find whether we are reading a duplicate record or not. To read/identify a duplicate record, we don't need any pattern

    Your...
  16. Thanks Saravan, my input file will be in this...

    Thanks Saravan,

    my input file will be in this format
    H:
    T:
    T:
    H:
    T:
    H:
    T: ....
  17. how to skip lines(as per my requirement)

    Hi,
    My Input source is text file, which has 2 types of records totally.
    H: and T: with prefixes.

    If i encounter a duplicate H: record again while reading the file, i should skip that set and...
  18. Replies
    2
    Views
    711

    Thanks Lucas, its working fine...

    Thanks Lucas,

    its working fine...
  19. Replies
    2
    Views
    711

    Default logging in DB

    Hi,
    I want to log my job details in Database(oracle). We have 6 default tables with prefix BATCH_

    when i run a job, i should be able to see its details in DB.

    i have used the below...
  20. Replies
    4
    Views
    761

    Thanks Garette, In my scenario, i will be...

    Thanks Garette,
    In my scenario, i will be reading a set of records(a batch), if i get exception, i need to write this batch into a seperate file.

    I think custom line mapper will work if we are...
  21. Replies
    9
    Views
    2,158

    Hi Dan, i have referred multilineOrderJob.xml...

    Hi Dan,
    i have referred multilineOrderJob.xml for validating each field.

    { customer.registered : customer.businessCustomer = FALSE OR ? = TRUE : 'Business customer must be registered' :...
  22. Replies
    9
    Views
    2,158

    Thanks Garrrette, can i have any piece of...

    Thanks Garrrette,

    can i have any piece of sample code... its getting complex day by day.

    Don't we have any spring batch validation framework to validate a Batch.

    Thanks,
  23. Replies
    9
    Views
    2,158

    Hi Dan, i have used ValangValidator, ...

    Hi Dan,

    i have used ValangValidator,

    <beans:bean id="tradeValidator" class="org.springframework.batch.item.validator.SpringValidator">
    <beans:property name="validator">
    <beans:bean...
  24. Replies
    9
    Views
    2,158

    I tried using BeanWrapper, but using this i am...

    I tried using BeanWrapper, but using this i am unable to configure the each field type.
    Example:-
    H:2006092900000030000030100200000000000000000D00000000000400000D...
  25. Replies
    4
    Views
    761

    Thanks Garrette, currently i am using default...

    Thanks Garrette,

    currently i am using default line mapper, can i have sample custom line mapper and writer code.

    thanks for your time.
Results 1 to 25 of 28
Page 1 of 2 1 2