Results 1 to 4 of 4

Thread: Dynamic Inbound Channel Adapter creation

  1. #1

    Default 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. #2
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,036

    Default

    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.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

  3. #3

    Default

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

  4. #4

    Default

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

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

Posting Permissions

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