-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
imro opened INT-2488 and commented
Can you please provide the HTTP Inbound Gateway with support for an attribute "view-name-expression" that would allow to retrieve the view name dynamically using SpEL Expressions? The rationale behind it to allow the internal SI logic to decide what view should be used, examples:
- error flow: when an error is met I'd like to use different view to be displayed
- http inbound gateway + router configuration: it would make sense to have different views for different execution paths; it's illogical to use many http inbound gateways for that; I know different view resolutions strategy could be used but it's not always that easy (especially when having a mixture of jsp & content type view resolvers)
Reference URL: http://forum.springsource.org/showthread.php?123683-SI-exception-handling-http-inbound-gateway-view-name