Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,095

    Apologies for the delayed reply. Just to follow...

    Apologies for the delayed reply. Just to follow up on this, the key was removing the transactionManager from the message listener container.

    It seems that even though the exception was caught and...
  2. Replies
    9
    Views
    1,095

    Thanks Mark, I'll give that a go and report back...

    Thanks Mark, I'll give that a go and report back any findings.
  3. Replies
    9
    Views
    1,095

    Mark - I (very excitedly) removed the...

    Mark - I (very excitedly) removed the errorHandler and respun the app... but alas, still no response message showing up on the reply-to queue for the previously stated scenario :(
  4. Replies
    9
    Views
    1,095

    Agreed, the errorHandler should be redundant...

    Agreed, the errorHandler should be redundant given the errorChannel so could easily be removed. This shouldn't affect the data access exception reply message mysteriously going missing that I'm...
  5. Replies
    9
    Views
    1,095

    Hi Oleg, thanks a lot for your reply - very much...

    Hi Oleg, thanks a lot for your reply - very much appreciated.

    As requested, my use case/trying to accomplish is to consume messages but always send a response message to the reply-to queue,...
  6. Replies
    9
    Views
    1,095

    Error channels and transactions

    Hi,

    I'm completely stumped as I can't seem to get consistent behaviour when exceptions are encountered in my Spring Integration message flow.

    The basic flow is:
    1. JSON -> Java conversion
    2....
  7. Excellent - thanks Dave. This looks like exactly...

    Excellent - thanks Dave. This looks like exactly what I'm after.

    ... and armed with your nod towards the ListItemReader, I also found this post which gives a nice example of a possible...
  8. One answer is using a Tasklet and just do all the...

    One answer is using a Tasklet and just do all the processing in one place. Any others though?
  9. How to initialise per job rather than per item?

    Hi,

    How would one go about executing code on a per job basis rather than per item?

    For example, if you wanted to send an email for each row returned from a DB call. So you process each row as...
  10. Single DB call using DAO that returns a list of items to supply to/as the ItemReader?

    This question probably doesn't sit with Batch as well as it should because it doesn't represent a job that has a lot of items to process, but...

    My understanding is that the ItemReader supplies a...
  11. Point taken. Thanks. Is this the general...

    Point taken. Thanks.

    Is this the general approach/place one would put per item and per commit processing though, or is there a better way?
  12. Thanks for your reply. See secondary post...

    Thanks for your reply.


    See secondary post above regarding not using the composite writer.


    A moot point for sure, although what if I do the update and the emails fail given the update really...
  13. Actually, a standard ItemWriter implementation...

    Actually, a standard ItemWriter implementation would suffice but the question regarding the general approach still stands.
  14. Item writer with per item and per commit writes?

    Hi,

    This is my first post so apologies if I accidentally break any rules.

    I'm wanting to implement a Batch job using a batch chunk consisting of a reader, processor and writer as follows:
    ...
Results 1 to 14 of 14