Results 1 to 7 of 7

Thread: Feed Adapter

  1. #1
    Join Date
    Nov 2011
    Posts
    8

    Default Feed Adapter

    Is there a way to dynamically change the URL for a feed adapter? I couldn't find any resources on this.

  2. #2
    Join Date
    Oct 2011
    Location
    Mumbai, India
    Posts
    213

    Default

    No, it can be specified in the config file and cannot be changed at run time. To what extent you want the url to be dynamic? What are you trying to model? If you can explain there would be an alternative for it. Perhaps define more than one feed adapters if you know the finite set of urls where you desire to receive feed from?

  3. #3
    Join Date
    Nov 2011
    Posts
    8

    Default

    Thanks for your response Amol.

    I have an atom feed and I want to be able to only get the newest content, my atom feed has the ability to only grab information after a given time, I want to change the URL to specify the last time the information was polled.

  4. #4
    Join Date
    Oct 2011
    Location
    Mumbai, India
    Posts
    213

    Default

    Spring integration's feed adapter does give you incremental feed. That is what you desire, right?

  5. #5
    Join Date
    Nov 2011
    Posts
    8

    Default

    Yes, but Spring's feed adapter doesn't allow me to customize the adapter to where I can grab from a field that isn't the published date.

    So instead, I would like to just customize the URL since my API allows me to specify items only after a certain time.

  6. #6
    Join Date
    Oct 2011
    Location
    Mumbai, India
    Posts
    213

    Default

    Ok, unfortunately the URL once set during initialization cannot be changed

  7. #7
    Join Date
    Nov 2011
    Posts
    8

    Default

    Thanks for your answers Amol. If I have adapter extending questions with this feed should I ask a new question?

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
  •