Are you sure you are using a multithreaded task executor? This post is pretty old now, so I guess you solved it. If not, like michael.lange says, post your spring config, I'm sure we'll be able to...
Type: Posts; User: magott; Keyword(s):
Are you sure you are using a multithreaded task executor? This post is pretty old now, so I guess you solved it. If not, like michael.lange says, post your spring config, I'm sure we'll be able to...
Yeah, you are of course right, I didn't examine the class fully. But then again, why is it volatile? I'm guessing the setter will only be called during the context initialization, in which case the...
Hi,
I'm trying to use JMX to change my polling interval. I have the following poller configuration:
<int:poller fixed-rate="60000" max-messages-per-poll="10" id="defaultPoller"...
Spring 3.1 will have a caching abstraction. It's already in the M1 http://blog.springsource.com/2011/02/23/spring-3-1-m1-caching/
My hypothesis is that the thread is not considered idle as long as it can consume new tasks from the queue.
It seems that it is able to go from executing the ServiceActivator's method to a timed...
Found a way to get the reduced max/core size to work. If, after I've reduced the max/core size, I stop the 'dbPoller' and then start it again, the thread count is reduced to the new mx/core. So it...
In a simple PoC I've created a jdbc poller which calls NOW() in hsqldb:
<int-jdbc:inbound-channel-adapter id="dbPoller" channel="data" query="call NOW()" data-source="dataSource"...
nice! I had a feeling I had read that somewhere in the documentation, couldn't find it though! thanks!!
I'd like to increase the polling frequency for a poller when the channel adapter returns data.
It is probably easiest to explain with an example:
Say I'm polling a database for new rows using the...
I'm seeing the same. Seems to be a STS issue, the code executes fine. While on the subject on STS and spring integration. STS lacks an option for the twitter schema.
As long as the getObject method is also only called by the BeanFactory (and protected by the same lock), I guess it should be OK.
When the afterProperties()-call is made for each step activation, will the class still be thread safe? Normally the FactoryBeans participate in the BeanFactory's synchronization, will this still be...
Thanks! That is exactly what I'm looking for.
Created issue at https://jira.springsource.org/browse/SPR-7864
Will do.
The problem is that the factorybean relies (in the real case, not in this simple junit test) on a jobParameter with a location for a configuration file. This configuration file is...
That is indeed very, very strange, I observe the same thing you do. Once I downgrade to Spring 2.5.6.SEC02, both values are 1. With Spring 3.0.5, the count increases for each invocation of...
The factorybean's javadoc says
* <p><b>NOTE:</b> FactoryBean objects participate in the containing
* BeanFactory's synchronization of bean creation. There is usually no
* need for internal...
I wanted to raise this in the forum, before I created a jira. I have a factorybean which I have configured with step scope, and the factorybean is implemented with isSingleton(){return true;}.
I...
Glad to hear that! Looking forward to exploring the product. Hope you'll include some screenshots in the blog as well. Always a good way to persuade the operations-people :-)
You were quite right, it was the jtds driver that caused the problem. Upgraded from 1.2 to 1.2.2 and now it works.
Thanks for the input.
I was thinking about that, and wrote a small program that did a insert, update and then verified that the text-value was null. So if the driver is to blame, it must be that it only converts nulls to...
Hi,
I'm having a problem where it seems that the SERIALIZED_CONTEXT is set to empty string at some point during the batch execution (it is set to null at insert at the beginning of the execution)....
Have anyone tried moving the cache project to Spring Extensions?
I would also like to see the caching component moved over to extension
Do you use framework provided readers and writers? How are they configured? How have you configured your JobRepository?