Announcement Announcement Module
No announcement yet.
Where is DestinationProvider ? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Where is DestinationProvider ?

    Hi all

    i just upgraded to Spring Integration 2.1. Now i can't find the class DestinationProvider anymore? Any hints where to find this class now?


  • #2
    That class was removed in 2.1. It is no longer necessary since we added constructors that take a URI directly as a String, and previously it had been used simply as a way to pass a "static" URI via the DestinationProvider strategy. The reason we had to add those constructors is that we also now (as of 2.1) support "URI variables" to replace {placeholder} values within the URI at runtime with content taken from the Message payload or headers.

    We will add this to our migration guide which you can find here:

    Sorry for the inconvenience, and I hope that explanation makes sense.