Yes, this would seem to fit my requirements. Unfortunately, this is needed for current development so I can probably not wait for 2.2 to be released.
Spawning multiple application contexts seems a bit... heavyweight for our purposes. We've also run into production issues related to dynamically instantiating app contexts in the past, so that's probably a no-go.
Just to reiterate: Basically, the idea is that we will be using this pattern in multiple places in the application (and potentially in other apps as well):
- Make a WS call
- If the endpoint is down, queue the message for retry (persistent queue)
- Poll the queue and retry the WS call
If I wanted to implement the above for multiple endpoints in the same application, I would need to copy/paste a giant chunk of XML configuration for each one. So, I want to encapsulate that pattern for re-use.
I have tried to programmatically create the SI objects and wire them together but it is proving to be difficult.



Reply With Quote
