Search:

Type: Posts; User: JayJay; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    902

    I'm trying to make it sending out email alerts...

    I'm trying to make it sending out email alerts when the number of attempt reach certain threshold or the maximum. So I created a class similar like SimpleRetryPolicy to implement my own logic in...
  2. Replies
    4
    Views
    902

    You're right, Dave. I can use the constructor...

    You're right, Dave. I can use the constructor taking a collection of exception classes. It works now. The only thing is that the email alert I coded in canRetry() will repeat multiple times. So, I'm...
  3. Replies
    4
    Views
    902

    Retry in a Tasklet

    In Spring batch 2.04, I made a simple tasklet become retryable through AOP by customizing the SimpleRetryPolicy in which it did more works like sending email alert if it reached the maxAttemp. But...
  4. Replies
    11
    Views
    4,407

    Thanks, Dave! I see the code in header.ftl. It...

    Thanks, Dave! I see the code in header.ftl. It references some variables through spring.messageText, i.e. @spring.messageText code="company.name"

    So, where can I define the messageText with...
  5. Replies
    11
    Views
    4,407

    The batch admin is a great product, well done,...

    The batch admin is a great product, well done, guys.

    One question, in the "Extending the UI" section of batch admin reference, I don't see the content for "modifying the content of the existing...
  6. Replies
    9
    Views
    1,791

    Great, thanks a lot, Dave. Happy holiday to all...

    Great, thanks a lot, Dave. Happy holiday to all Spring folks and Spring fans!
  7. Replies
    9
    Views
    1,791

    Thank you, Dave. This is exactly what I'm looking...

    Thank you, Dave. This is exactly what I'm looking for. Is there a target date yet for 2.1 release? I'm trying to get the 2.1.0.M3 but couldn't find it. The links on the...
  8. Replies
    9
    Views
    1,791

    Each one will take 3 steps which mean I'll need...

    Each one will take 3 steps which mean I'll need to repeat the steps for all. Certainly you can config 15 steps in one job, I just don't feel it's efficient enough.
  9. Replies
    9
    Views
    1,791

    Dave, I have a similar case but not exactly the...

    Dave, I have a similar case but not exactly the same. I need to download 5 files from the same ftp site and save them to database every day. Now I just configure it as one job and pass in different...
  10. it's my bad...

    I imported the aop config in each job's config file. It ended up applying the advisor twice. That's why it kept retrying for a while.
  11. RetryContext interfered between different jobs

    I configured two jobs running in the same container, both need to retry the file downloading tasklet if the file is not available. But it seems like the two retry contexts are interfered each other...
  12. Replies
    2
    Views
    1,629

    Now I have problem to configure chunk to retry....

    Now I have problem to configure chunk to retry. For example my FlatFileItemReader is configured to load a daily csv file on a ftp site, I'd like it keep trying until the file is available.The...
  13. Replies
    17
    Views
    3,495

    We have the similar job and it works perfectly...

    We have the similar job and it works perfectly fine with UrlResource for FlatFileItemReader. We're using Spring batch 2.0.4
  14. Replies
    2
    Views
    1,629

    I wish it's in next release. The work around...

    I wish it's in next release. The work around we're using is AOP, hope this help-



    <aop:config>
    <aop:pointcut id="batchJobRetry"
    expression=" execution(*...
  15. Thread: job scheduling

    by JayJay
    Replies
    5
    Views
    1,105

    Thanks, Dave. From the 3.0 reference, it does...

    Thanks, Dave. From the 3.0 reference, it does look cool by using the namespace for cron scheduling. It's perfect for scheduling of executing a method of an object. But the question is how I can wire...
  16. Thread: job scheduling

    by JayJay
    Replies
    5
    Views
    1,105

    Agreed. I assumed the whole purpose of Spring...

    Agreed. I assumed the whole purpose of Spring Batch is trying to make developers life easier, isn't it? If you need to schedule hundreds of overnight jobs, and make them restartable if it fails,...
  17. Thread: job scheduling

    by JayJay
    Replies
    5
    Views
    1,105

    job scheduling

    One of the important piece of batch job is scheduling. I don't have any problem to follow the quartz-job-launcher-context.xml example. But imagine if we have hundreds of jobs, we'll have to repeat...
  18. Thread: Job scope?

    by JayJay
    Replies
    7
    Views
    2,863

    Hi Dave, Is the feature of "carring named...

    Hi Dave,

    Is the feature of "carring named properties between steps" in the latest version?
  19. Instead of creating your own reader, why not just...

    Instead of creating your own reader, why not just implement PreparedStatementSetter and set it as property for JdbcCursorItemReader?
Results 1 to 19 of 19