Thanks Mark. As a workaround, I wrapped my gateway bean with another one that sets the headers using the @Headers annotation. ArgumentArrayMessageMapper does not check for prefixes there.
Type: Posts; User: gstathis; Keyword(s):
Thanks Mark. As a workaround, I wrapped my gateway bean with another one that sets the headers using the @Headers annotation. ArgumentArrayMessageMapper does not check for prefixes there.
Just need to verify whether this is true: if one attempts to set a message priority via @Header annotation, such as:
@Gateway(requestChannel="fooChannel")
public abstract void bar(String msg,...
I see. Is it wise to synchronize the entire method then or will it just kill performance?
@Override
protected synchronized boolean doPoll() {
Message<?> msg =...
peek() synchronizes internally around the queue in PeekingQueueChannel:
public class PeekingQueueChannel extends AbstractPollableChannel {
[...]
protected Message<?> peek(long timeout){
if...
Hi Mark,
Taking another look at this, it feels line a custom Trigger might still not do the trick. The reason is that Triggers work on the assumption that they know what the next execution time...
https://jira.springsource.org/browse/INT-1002 is exactly it. I'll start following it. So, for the time being, it sounds like I need to create a custom TaskExecutor that periodically runs some checks...
Thanks for the reply Mark.
The Filter in question would be the only one in the endpoint. There would be nothing after it. So throwing an exception does not seem to apply to this particular...
Hi folks,
My apologies in advance if this is already in the docs but I have been reading them and I can't yet find the answer.
Question: are Filters able to peek at the messages present in an...
Hello,
We have an application that we configure using the PropertyPlaceholderConfigurer such as :
<bean id="propertyConfigurer"...
This issue has been resolved: we were testing filters in a transactional unit test case (AbstractTransactionalDataSourceSpringContextTests) that was setting up the data in the onSetUpInTransaction()...
BTW, we are running our tests in a unit test that extends AbstractTransactionalDataSourceSpringContextTests. Could that be causing any issues (since data isn't actually committed to the database)?
No caching is being used right now
To my knowledge, we have caching disabled right now but I'm going to check and make sure.
Interestingly enough, I don't see the HQL for Bar whether I load it eagerly or not...
Hello,
We need to run this by the folks in this forum to see if there is something really obvious that we may be missing.
The Problem: Unable to get dynamic filters to filter down a...
Unfortunately yes. But in Java the "." (dot) also means other things like package delimiter or Class.method(). It would make Spring configuration files more intuitive if the dot could also be...
As well as "property" argument resolution similar to that of the constructor argument resolution that Spring already supports:
http://www.springframework.org/docs/reference/beans.html#d0e746
Verbose indeed but it seems to work! Thanks!
Anyone knows if there are any plans to allow for notation similar to
<bean id="beanA" class="somepackage.ClassA">
<property...
We are trying to do the following:
<bean id="beanB" class="somepackage.ClassB">
<property name="beanBproperty1" value="somevalue" />
</bean>
<bean id="beanA" class="somepackage.ClassA">
...