Sounds good, thanks for the advice. I took the lame way out in the meantime and hacked it into commitIfNecessary. I will replace it with the sync stuff as soon as possible.
Type: Posts; User: nickspacek; Keyword(s):
Sounds good, thanks for the advice. I took the lame way out in the meantime and hacked it into commitIfNecessary. I will replace it with the sync stuff as soon as possible.
Hmm, the approach of using a PseudoTransactionManager seems to be "complicated" by the fact that the input is coming from a JMS listener adapter that has a TransactionManager already. Now I'm down...
The PseudoTransactionManager sounds like the surest solution to me. The reason for trying to do it at the end is that the context information is getting logged and some logging occurs before the...
Currently, one of the steps in processing messages takes some data about the message and stores it in a "job context" using ThreadLocals, ala SecurityContextHolder. I'm looking for a clean way to...
I guess I'm starting to see that cases like ours are why more complex transaction frameworks exist.
Hi folks,
I realize this is probably not a 100% supported solution since it's background seems somewhat shady. With the ChainedTransactionManager, all of the child PlatformTransactionManagers are...
Great, I did all of those things you suggested. :)
https://jira.springsource.org/browse/INT-2920
https://github.com/SpringSource/spring-integration/pull/736
Happy to help!
Hi there,
I'm wondering if there is any reason why the ClaimCheckOutTransformer uses MessageStore.getMessage instead of MessageStore.removeMessage to retrieve the row? MessageStore.removeMessage...
Which version of spring-data-redis is that in? I didn't see it in 1.0.1.RELEASE, which I thought was the latest but now see 1.0.2.RELEASE. We ended up re-implementing the RedisCacheManager to allow a...
I like the new Cache abstraction that is possible using Annotations. I am wondering if there's been thought put toward enabling Cache abstraction for classes that you don't have control of...
Sorry it took so long for me to articulate the issue!
Hmm, so in terms of exception logging the chain ID solution is the best that can be currently done it seems. It's helpful, but doesn't seem...
Tried both, does it work for you when the filter is a child of a chain?
Actually, this isn't supported in 2.2.0.RELEASE and the schema validation throws an error on startup.
It seems that using the Spring Data Redis support for Spring's Cache Abstraction means that you can't set TTLs. Are there any plans for this (JIRA)? I checked quickly but didn't see anything.
Of course, sorry!
Hi folks,
I'm using an
<int:filter throw-exception-on-rejection="true"><bean ... /></int:filter> to filter out messages. When the exception is thrown, the stack trace and Exception message make...
Rats. :) I did discover that when I have a DB poller initiating the transaction, the JDBC changes are committed first and then JMS.
I ended up going with the ChainedTransactionManager, hopefully...
Hi folks,
Having some trouble getting things to commit properly, and maybe I'm going about it wrong but it seems pretty close.
What I'm aiming for is that unless the application reads the...
Alright, that'll work. I was fairly certain that an approach like you suggested was the only way to do it, but I wanted to make sure I wasn't missing something obvious or a slick way of solving the...
Hi folks,
Loving Spring Integration! I have a scenario where I am routing two messages based on the payload type to different channels. I want both to be claim-check-in before reaching the...
Hi folks,
Sorry if this is obvious or, on the other hand, a complicated topic. Feel free to point me towards books or the like that might cover the topic better.
I'd like to have multiple...
Doubt anyone is watching this thread anymore, but I created a small workaround to add support in Spring Security 3.0.x.
Hi folks,
I'm running into an issue where an uncaught exception in the Spring Security filter chain is not being caught by my Spring ExceptionResolver. Uncaught exceptions in my controllers, etc....
Anyone have a link to the Jira entry? This is a 3 year old issue, and as far as I can tell still happening (or at least, I have seen many people with the issue and no solutions).
Since I have been...
Hi folks,
Are there any examples of setting up Spring Security for the service layer? Including the context XML and other configuration. Is it as easy as:
public interface MyService {
...