Search:

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

Search: Search took 0.01 seconds.

  1. Oleg - thanks for your reply. It sounds like...

    Oleg - thanks for your reply. It sounds like we're on the right track now, albeit via a rather circuitous route! I had read a bit about SpEL in the SI 2.0 reference guide -- it looks quite powerful,...
  2. My colleague has suggested the following change...

    My colleague has suggested the following change to address my concerns with the earlier approach. Basically, we could look up the relevant bean by name in the Spring application context. So, instead...
  3. Hi Oleg, Thanks for your reply. The use of the...

    Hi Oleg,

    Thanks for your reply. The use of the payload-type-router is a good approach. At the moment, I set a property in the header indicating the message type, then use a header value router to...
  4. Hi Oleg, Would you mind providing some extra...

    Hi Oleg,

    Would you mind providing some extra detail about your proposed approach?

    Thanks
    -Matt
  5. Hi Oleg, Thanks for your reply. I'm not sure I...

    Hi Oleg,

    Thanks for your reply. I'm not sure I understand what you mean though. I can see how you might create different delegates, something like this:



    <bean id="messageAlphaProcessor"...
  6. Template Method Pattern using Spring Integration?

    Hi,

    I have a use case that is good fit for the Template Method design pattern (http://en.wikipedia.org/wiki/Template_method_pattern) and I wanted to find out whether it is possible to implement...
  7. Hi - this might not be suited to a framework...

    Hi - this might not be suited to a framework solution, but here's what I did for this. I created a FIFOMessage class (see extract 1 below) that maintains a global sequence number. Then I have created...
  8. Gary, Thanks for your reply. I still think it...

    Gary, Thanks for your reply. I still think it would be helpful to state explicitly that messages with the same priority will be received in an arbitrary order. To me, anything that is based on a...
  9. When you send the message to the output queue,...

    When you send the message to the output queue, are you expecting a response? If not, then I don't think an outbound gateway is what you want. If you just want to send the message without waiting for...
  10. Replies
    14
    Views
    2,916

    Hi, Regarding the following comment: Can...

    Hi,

    Regarding the following comment:

    Can you try setting the "send-timeout" attribute on the <service-activator/> element itself? If that's not available, can you please let me know what...
  11. PriorityChannel Gotcha! Messages with same priority are not processed in FIFO order

    We use PriorityChannels in our application, and during testing we discovered that PriorityChannel doesn't quite behave in the way we expected. As PriorityChannel is derived from QueueChannel, I...
  12. Replies
    4
    Views
    6,109

    Sorry for the late reply. Yes, you're right -...

    Sorry for the late reply. Yes, you're right - there is a 'queue-capacity' attribute on the <thread-pool-task-executor> (not sure why I missed that before). I've also raised a task in Jira requesting...
  13. Replies
    4
    Views
    6,109

    Hi Dave, Thanks for your reply. However, the...

    Hi Dave,

    Thanks for your reply. However, the default queue size for a task executor is actually unbounded (Integer.MAX_VALUE) rather than zero, unless I'm missing your point.



    public class...
  14. Replies
    4
    Views
    6,109

    Spring Integration Poller configuration

    Hi,

    I have been trying to work out how to correctly configure a poller in Spring Integration but I have run into some problems (I raised a similar post a few weeks ago, but I didn't get any reply;...
  15. Can anyone advise on the above? Thanks -Matt

    Can anyone advise on the above?

    Thanks
    -Matt
  16. Configuring receive-timeout and interval-trigger in a poller

    Hi -- I am in the process of tuning our SI-based application, and one of the things I'm looking at is to set reasonable values for receive-timeout and interval-trigger for each poller.

    I see that...
  17. Replies
    10
    Views
    1,838

    Mark - Thanks for the quick response. Regards...

    Mark - Thanks for the quick response.

    Regards
    -Matt
  18. Replies
    10
    Views
    1,838

    Hi Dave -- yes, I could try to avoid it by...

    Hi Dave -- yes, I could try to avoid it by setting a timeout or increasing the queue capacity, but there's still a risk of the condition occurring and therefore one or more messages failing to...
  19. Replies
    10
    Views
    1,838

    Hi Mark - this is now raised as issue 1275:...

    Hi Mark - this is now raised as issue 1275: http://jira.springframework.org/browse/INT-1275. Can you suggest a workaround that we could use in the meantime?

    Thanks
    -Matt
  20. Replies
    10
    Views
    1,838

    Version 1.0.4 Thanks Matt

    Version 1.0.4

    Thanks
    Matt
  21. Replies
    10
    Views
    1,838

    Hi Mark - I have not defined any specific timeout...

    Hi Mark - I have not defined any specific timeout for the channel, so the timeout parameter for acquirePermitIfNecessary has a value of -1.

    Rgds
    -Matt
  22. Replies
    10
    Views
    1,838

    Send on a PriorityChannel does not block

    Hi - I am working on an application that uses priority channels, e.g.


    <si:channel id="inbound_soi_lookup">
    <si:priority-queue capacity="100"/>
    </si:channel>

    During load testing, I have...
  23. Yes, I've considered that approach, and that may...

    Yes, I've considered that approach, and that may be what I have to do in this case, but I'm still surprised there isn't a facility to route messages onward from an outbound channel. I appreciate that...
  24. Specifying an output channel for a jms:outbound-channel-adapter

    Hi - I have a use case where I want to put a message on to an output queue then update a record in the database to record the fact that the message has been sent. I'm using a...
Results 1 to 24 of 24