Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Sorry for the false alarm. It turned out to be...

    Sorry for the false alarm. It turned out to be due to this bug: [URL="https://jira.springsource.org/browse/INT-1820"]. So I didn't have to muck with the ordering to fix it.
  2. Hi Gary, Since I am performing other database...

    Hi Gary,
    Since I am performing other database operations within the flow, I do need the failed flow to rollback. This is why I need a retry of the flow in which only the failed message is consumed...
  3. I want to do a stateful retry of the flow...

    I want to do a stateful retry of the flow (actually, zero retry), so I need access to the message. The Callable.call() does not expose a message. I would get the failed message from the messaging...
  4. Hi, As I tried to configure the retry, I just...

    Hi,
    As I tried to configure the retry, I just realized that there isn't any out-of-the-box retry advice for a polling consumer. It wasn't that obvious from the documentation, but this post...
  5. Transactional channel message stores and failed messages

    Hi,
    When a message fails (transaction rolls back) to process on a queue backed by a transactional channel message store, like the JdbcChannelMessageStore, the message would remain in the store and...
  6. Replies
    1
    Views
    241

    Jdbc channel message store design question

    Hi,
    I have used the JdbcChannelMessageStore and it does use the database as a queue.
    What I really want is to back a queue channel with a table only for the sake of disaster recovery. What I mean...
  7. JIRA created:...

    JIRA created: https://jira.springsource.org/browse/BATCH-1875
  8. Fault tolerant writes for transactional reader

    Hi,
    When the reader is non-transactional, and the exception is skippable, Spring Batch does a good job of isolating the failing item(s) in a chunk write by rescoping the transaction around each item...
  9. NativeJdbcExtractor for the tomcat jdbc pool

    Hi,
    I would like to use the highly concurrent tomcat jdbc pool instead of DBCP. Since I need to use Oracle LOBs, it is not clear to me what NativeJdbcExtractor to use with this pool. Will...
  10. I see that this has been fixed in 2.1.8 :D

    I see that this has been fixed in 2.1.8 :D
  11. ConcurrentModificationException in SubclassClassifier for partitioned step

    Hi,
    I have a batch job (version 2.1.7) with a partitioned step. A skippable exception was thrown but the partition failed with the stack trace below:

    at...
  12. Replies
    1
    Views
    801

    processor vs writer usage

    Hi,
    I have existing code which is more pipe-lined i.e. read buffer from driving table->read supplemental data->transform/validate->write->read (some of the previously written...
  13. Replies
    1
    Views
    851

    Passing job instance id to a processor

    Hi,
    Is it possible to pass the job instance id to a processor using late-binding? I need this for auditing in the processor business logic.
    Thanks,
    Hari.
  14. Replies
    7
    Views
    1,374

    I believe I can do pessimistic locking as long as...

    I believe I can do pessimistic locking as long as I add a processing indicator column. So the reader locks and buffers unprocessed rows using the query (with a filter on processing indicator), sets...
  15. Replies
    7
    Views
    1,374

    @dma_k That is exactly what I am trying to do...

    @dma_k
    That is exactly what I am trying to do
    @Dave
    The need for pessimistic locking comes because I need to run multiple instances of the same batch (for increased throughput). It is simpler for...
  16. Replies
    7
    Views
    1,374

    So I should do the pessimistic query in...

    So I should do the pessimistic query in beforeChunk and put the items in the step execution context? The reader then reads from the context?
    When individual item processing happens as part of the...
  17. Replies
    7
    Views
    1,293

    Sure. I'd like to contribute. How do I do that? ...

    Sure. I'd like to contribute. How do I do that?

    Use-case:
    I run the same batch on multiple machines:
    reader: reads a page of rows with pessimistic lock (query for unprocessed rows with sorting...
  18. Replies
    7
    Views
    1,293

    I guess I really need to understand how the fault...

    I guess I really need to understand how the fault tolerant processing works. This isn't documented enough and I came to know about this only through questions in the forum and looking at the source...
  19. Replies
    7
    Views
    1,293

    Thanks. I presume the afterChunk method is the...

    Thanks. I presume the afterChunk method is the right place to check for the updated rollback counts? The reference guide says that afterChunk is invoked before the commit while the javadoc says that...
  20. Replies
    7
    Views
    1,374

    Pessimistic locking reader

    Hi,
    I would like to pessimistically lock a page of rows from a table in the reader and have the locks released when the chunk commits. Is this reader a transactional reader? I will be configuring...
  21. Replies
    7
    Views
    1,293

    Determine chunk transaction status

    Hi,
    There is specific processing I need to do if the chunk transaction rolls back. I could even do this processing at the start of the next chunk. How do I determine the transaction status of the...
  22. Replies
    1
    Views
    659

    Basic transaction boundary question

    Hi,
    I have been through the documentation but for some reason could not figure out where the transaction begins for a chunk. I can see that it ends when the after the writer writes out a chunk....
  23. Thanks Dave. I wrapped the CommandLineJobRunner...

    Thanks Dave. I wrapped the CommandLineJobRunner in my main implementation. I have a CLI where I either load just the context in case of polling jobs or delegate to the CommandLineJobRunner to launch...
  24. Thanks Dave. It's hard to control such a job...

    Thanks Dave. It's hard to control such a job since the poller creates multiple job instances. There is no single point from where to stop/restart these instances. It would have been ideal to have a...
  25. Launching a file polling job from the command line

    Hi,
    I have the spring batch admin/integration approach to running a file polling job implemented. I could test it easily enough by running a method that just loads the context and sleeps. But I now...
Results 1 to 25 of 27
Page 1 of 2 1 2