Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    113

    How to: Restore Job Status?

    Hi All,

    We started a Spring-batch job, but while the job was running, the Server were it was running on was restarted. The result of this is in the database:

    STATUS: STARTED
    EXIT_CODE:...
  2. Replies
    5
    Views
    274

    Sure I can I could enrich the header before...

    Sure I can I could enrich the header before putting it on de pub sub channel, so that solve that problem. but does this mean I could read the message B multiple times of a channel?

    As result we...
  3. Replies
    5
    Views
    274

    Thx for the quick response. The aggregation is...

    Thx for the quick response.

    The aggregation is over 2 message but it's done multiple times

    Say we have input "A" an put this on the pub-sub-channel.

    The splitter will take it and split it in...
  4. Replies
    5
    Views
    274

    Aggergator flow howto

    Hi All,

    I've some problems with my flow, I hope you could help me with this. The situation I want to achieve is describe in the attached image,

    Functional: as input I've an event and which...
  5. Replies
    4
    Views
    798

    What I did is put my data into a threadLocal, but...

    What I did is put my data into a threadLocal, but this is only possible with a single threaded job
  6. Replies
    8
    Views
    1,388

    Hi micheale, Thanks for the explanation, it's...

    Hi micheale,

    Thanks for the explanation, it's clear for me.

    @shiralkarprashant, sorry for messing up your post with my question
  7. Replies
    8
    Views
    1,388

    HI thanks for the responses, Unfortunely I''m...

    HI thanks for the responses,

    Unfortunely I''m not able to post my code till after the weekend, but I also think this is not realy necessary because my reader is a staxEventReader. And my processor...
  8. Replies
    8
    Views
    1,388

    Hi, I've the same problem, did you found a...

    Hi,

    I've the same problem, did you found a solution for the problem that the processor is called twice when an (skippable) exception is thrown?

    Thanks
  9. Replies
    0
    Views
    436

    Initailizing ItemWriterAdapter fails

    Hi,

    I try to initialize an ItemWriterAdapter but I got an exception:


    The creation of the bean looks as follow:


    <bean scope="step" id="abstract-import-writer"...
  10. Replies
    2
    Views
    676

    Hi Javed, For the XML-parsing you could take a...

    Hi Javed,

    For the XML-parsing you could take a look at:
    * org.springframework.batch.item.xml.StaxEventItemReader
    * org.springframework.batch.item.xml.StaxEventItemWriter

    Cheers
  11. If you add @Scope("step") to your reader it...

    If you add @Scope("step") to your reader it should work
  12. Replies
    6
    Views
    867

    You're right it's easier to Inject my own DAO or...

    You're right it's easier to Inject my own DAO or session factory, I only hoped that Spring-batch already had a class which was able to use the result of the first query in the second one. Thanks for...
  13. Replies
    6
    Views
    867

    Sorry I mixed up the ItemStream with the...

    Sorry I mixed up the ItemStream with the ItemStreamReader. So if I want to use my result from the query I have to write custom functionality and take care of the database actions myself?

    At the...
  14. Replies
    6
    Views
    867

    Hi Dave, thanks for your response. Could...

    Hi Dave, thanks for your response.


    Could you tell me which read you mean the one of the stream or the reader?
  15. Replies
    6
    Views
    867

    Composite HibernateCursorItemReader

    Hi,

    I'm trying to write a Composite HibernateCursorItemReader, where the stream will use some result values as input params. I wondering when the method "open" is called, because the "open" method...
  16. Replies
    6
    Views
    691

    Maybe I have to write all data to ThreadLocal,...

    Maybe I have to write all data to ThreadLocal, and when everything is read, create a reader on my ThreadLocal and write it to an xml file.
  17. Replies
    6
    Views
    691

    Correct I prefer not to. This is maybe...

    Correct I prefer not to.



    This is maybe possible, but I'm not totally sure how a composite service is working. As I read a ItemReader is calling another ItemReader.

    I've have to read one...
  18. Replies
    6
    Views
    691

    Thanks for your response tiger.spring. ...

    Thanks for your response tiger.spring.

    Unfortunally it is not possible to write it in one query. I already looked at it. And a storedProcedure is not allowed.

    Think the best thing is to have a...
  19. Replies
    6
    Views
    691

    Setup question

    Hi All,

    Could you give me some advised how to setup the following case with spring batch:

    I've have to read several types of objects from the database and I have to write those object to a...
  20. Replies
    3
    Views
    1,322

    Hi Don, Thanks for your response, I your are...

    Hi Don,

    Thanks for your response, I your are right Link, I have to wait for the next release to use the self implemented annotation.

    Reijnemans
  21. Replies
    3
    Views
    1,322

    Custom WebArgumentResolver never invoked

    Hi all I created for my web-app a custom annotation that reads a param from a session, however my resolver is never executed, putting a breakpoint in de resolveArgument method doens't help and...
  22. Replies
    0
    Views
    755

    project refenrence problem with STS

    Hi,

    I've a problem with project references within STS. I've imported my maven project into STS but my web projects doesn't recognize my project references. When I build the project via...
  23. Replies
    0
    Views
    649

    Artifact download problem

    Hi all,

    When starting a new Roo project with STS, i've problems with downloading the (Spring) artifacts.
    * Already tried to remove my whole maven repo, but that doesn't make any differents.
    *...
Results 1 to 23 of 24