public class StoredProcMessageHandler extends AbstractMessageHandler implements org.springframework.beans.factory.InitializingBean
ProcedureParameter
.
If you need to handle the return parameters of the called stored procedure
explicitly, please consider using a StoredProcOutboundGateway
instead.
Also, if you need to execute SQL Functions, please also use the
StoredProcOutboundGateway
. As functions are typically used to look up
values, only, the Stored Procedure message handler purposefully does not support
SQL function calls. If you believe there are valid use-cases for that, please file a
feature request at http://jira.springsource.org.logger
Constructor and Description |
---|
StoredProcMessageHandler(StoredProcExecutor storedProcExecutor)
Constructor passing in the
StoredProcExecutor . |
Modifier and Type | Method and Description |
---|---|
protected void |
handleMessageInternal(Message<?> message)
Executes the Stored procedure, delegates to executeStoredProcedure(...).
|
getComponentType, getOrder, handleMessage, setOrder, setShouldTrack
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterPropertiesSet
getComponentName
public StoredProcMessageHandler(StoredProcExecutor storedProcExecutor)
StoredProcExecutor
.storedProcExecutor
- Must not be null.protected void handleMessageInternal(Message<?> message)
handleMessageInternal
in class AbstractMessageHandler