Search:

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

Search: Search took 0.02 seconds.

  1. Thanks Mark. As a workaround, I wrapped my...

    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.
  2. Setting message priority via @Header annotation

    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,...
  3. I see. Is it wise to synchronize the entire...

    I see. Is it wise to synchronize the entire method then or will it just kill performance?



    @Override
    protected synchronized boolean doPoll() {
    Message<?> msg =...
  4. peek() synchronizes internally around the queue...

    peek() synchronizes internally around the queue in PeekingQueueChannel:

    public class PeekingQueueChannel extends AbstractPollableChannel {
    [...]
    protected Message<?> peek(long timeout){
    if...
  5. Hi Mark, Taking another look at this, it feels...

    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...
  6. https://jira.springsource.org/browse/INT-1002 is...

    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...
  7. Thanks for the reply Mark. The Filter in...

    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...
  8. Peeking at messages in a QueueChannel without removing them from the queue

    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...
  9. Getting current web context path in bean definition file

    Hello,

    We have an application that we configure using the PropertyPlaceholderConfigurer such as :

    <bean id="propertyConfigurer"...
  10. This issue has been resolved: we were testing...

    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()...
  11. BTW, we are running our tests in a unit test that...

    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)?
  12. No caching is being used right now

    No caching is being used right now
  13. To my knowledge, we have caching disabled right...

    To my knowledge, we have caching disabled right now but I'm going to check and make sure.
  14. Interestingly enough, I don't see the HQL for Bar...

    Interestingly enough, I don't see the HQL for Bar whether I load it eagerly or not...
  15. Using Hibernate Dynamic Filtering for Collections with FilterDefinitionFactoryBean

    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...
  16. Unfortunately yes. But in Java the "." (dot) also...

    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...
  17. As well as "property" argument resolution similar...

    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
  18. Verbose indeed but it seems to work! Thanks! ...

    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...
  19. Assigning bean property A value as bean property B value

    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">
    ...
Results 1 to 19 of 19