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,...
Type: Posts; User: MattCarle; Keyword(s):
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,...
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...
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...
Hi Oleg,
Would you mind providing some extra detail about your proposed approach?
Thanks
-Matt
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"...
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...
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...
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...
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...
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...
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...
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...
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...
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;...
Can anyone advise on the above?
Thanks
-Matt
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...
Mark - Thanks for the quick response.
Regards
-Matt
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...
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
Version 1.0.4
Thanks
Matt
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
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...
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...
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...