Announcement Announcement Module
Collapse
No announcement yet.
Dynamic Inbound Channel Adapter creation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dynamic Inbound Channel Adapter creation

    We are busy with a feed/content aggregation solution.

    The basis is that our clients will be able to register their own endpoints.

    In it's simplest form, lets say they can specifiy the FTP details of where there content sits, and there polling period (cron)

    Code:
    int-ftp:inbound-channel-adapter
    is a great piece of kit, when you have predefined endpoints, and can configure in XML.

    Is there any simple/complex way that would allow us to essentially "declare" runtime instantiations of inbound-channel-adapters.

    Thanks in advance
    Shaine

  • #2
    See this thread http://forum.springsource.org/showth...iple-Consumers

    It points to the dynamic-ftp sample, which creates outbound ftp adapters dynamically, from snippets of XML. For inbound adapters, you need to make the snippets child contexts so you can route messages into the main context. The post shows how to do that too.

    Comment


    • #3
      thanks for your prompt reply Gary, I will take a look at this

      Comment


      • #4
        this is perfect, you really do learn something new every day

        I suppose now that I see it, it makes absolute sense

        Comment

        Working...
        X