Hi,
Good question. Right now you can use the default SpEL expression support provided by Spring, only.
E.g. the following expressions are valid:
Code:
... stored-procedure-name="#{new String('world').toUpperCase()} ...
... stored-procedure-name="#{@coffee.name}" ...
<bean id="coffee" class="org.springframework.integration.model.CoffeeBeverage">
<property name="name" value="testingStoredProc"/>
</bean>
see: http://static.springsource.org/sprin...pressions.html
Thus, right now you cannot access the Spring Integration message payload/headers in order to determine the stored procedure name dynamically. If possible, could you please create a feature request in Jira and reference it back in this forum post?
Thanks for providing feedback!
Cheers,