Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Handling connectivity issues in web service outbound gateway (retry)

  1. #11
    Join Date
    May 2011
    Posts
    13

    Default

    Quote Originally Posted by Cleric View Post
    Hello
    At a glance it seems like you need this one: https://jira.springsource.org/browse/INT-1685
    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.

    Quote Originally Posted by Cleric View Post
    So, try to investigate this sample: https://github.com/SpringSource/spri...ed/dynamic-ftp
    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):
    1. Make a WS call
    2. If the endpoint is down, queue the message for retry (persistent queue)
    3. 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.

  2. #12
    Join Date
    May 2011
    Posts
    13

    Default

    I apologize for bumping this again... is it feasible to programmatically create these components and wire them together, for the sake of reuse? Is there a resource (other than the API docs) that might be able to help me with this?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •