Hi All,
Finally i am through with it. I have implemented tasklet and have got my job batch running successfully.:D
Following is my final configuration
<!-- Job Configuration - Start-->...
Type: Posts; User: puneetswarup; Keyword(s):
Hi All,
Finally i am through with it. I have implemented tasklet and have got my job batch running successfully.:D
Following is my final configuration
<!-- Job Configuration - Start-->...
Hi there,
By any chance can anyone tell me why my job is getting executed again and again. I mean whenever i start my application, the job starts automatically (its single job) and the reader is...
i meant in the config, do we have listeners property in tasklet too as found in step
such as
<property name="listeners">
<list>
<ref bean="verifyProcessor" />
<ref bean="xmlOutputFile" />...
How to define a listener for a tasklet then? I am very new to spring batch and have not referred much of documentation thats why asking such questions..
I am attaching some code snippet for my...
Sorry but i am not using annotation based approach.
Well, the data that i want to write to xml is summary of the processing of 1st step ie only data such as count of records processed and number of failed and as such, thus i moved that part out of...
Version 2.0.0.M3.
Its already in Jobs execution context. Even i am getting
public RepeatStatus execute(StepContribution stepContribution, AttributeAccessor attributeAccessor)
for tasklet...
Now that i have stored my summary object (result of step1) in executionContext, how do i get that in this tasklet?
Thank you for all the suggestions. I would like to go with Tasklet. But i need to produce XML output of the summary element. For that i am extendingStaxEventItemWriter. How do i integrate both?
:(
Can you please provide some sample for that...Also current config leads my step 2 to be executed as many as step1 number of times...Will implementing tasklet ensure single running of step2???????
Hi,
I am also having similar requirement, can anybody suggest a solution.