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...
Type: Posts; User: gph; Keyword(s):
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...
Thanks Mark, I'll give that a go and report back any findings.
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 :(
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...
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,...
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....
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...
One answer is using a Tasklet and just do all the processing in one place. Any others though?
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...
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...
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?
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...
Actually, a standard ItemWriter implementation would suffice but the question regarding the general approach still stands.
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:
...