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/>.