Class StoredProcMessageHandler

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ComponentSourceAware, ExpressionCapable, Orderable, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

@Deprecated(forRemoval=true, since="7.0") public class StoredProcMessageHandler extends StoredProcMessageHandler
Deprecated, for removal: This API element is subject to removal in a future version.
since 7.0 in favor of StoredProcMessageHandler
A message handler that executes Stored Procedures for update purposes.

Stored procedure parameter values are by default automatically extracted from the Payload if the payload's bean properties match the parameters of the Stored Procedure.

This may be sufficient for basic use cases. For more sophisticated options consider passing in one or more 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.

Since:
2.1
Author:
Gunnar Hillert, Gary Russell, Artem Bilan
  • Constructor Details

    • StoredProcMessageHandler

      public StoredProcMessageHandler(StoredProcExecutor storedProcExecutor)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor passing in the StoredProcExecutor.
      Parameters:
      storedProcExecutor - Must not be null.