Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-2920

Dynamic router should allow to discard messages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.2 RC1
    • Component/s: Runtime
    • Labels:
      None

      Description

      Currently dynamic router sink has to return a valid queue name. This is problematic when the message should be discarded as part of the routing process. In this case one have to define a stream with filter | router steps where part of the SpEL is duplicated between filter and router modules.

      Instead the dynamic router should allow to return null to discard the message and stop further processing. Spring Integration is already providing resolution-required attribute on <router/>.

        Attachments

          Activity

            People

            Assignee:
            iperumal Ilayaperumal Gopinathan
            Reporter:
            kdowbecki Karol Dowbecki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: