Package org.frankframework.jdbc
Class JdbcQueryListener
java.lang.Object
org.frankframework.jndi.JndiBase
org.frankframework.jdbc.JdbcFacade
org.frankframework.jdbc.JdbcListener
org.frankframework.jdbc.JdbcQueryListener
- All Implemented Interfaces:
FrankElement
,HasApplicationContext
,HasName
,HasPhysicalDestination
,IConfigurable
,IHasProcessState
,IListener
,IPeekableListener
,IPullingListener
,IScopeProvider
,IXAEnabled
,NameAware
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.context.Lifecycle
@Deprecated(forRemoval=true,
since="7.6.0")
@ConfigurationWarning("Please replace with JdbcTableListener for ease of configuration and improved manageability")
public class JdbcQueryListener
extends JdbcListener
Deprecated, for removal: This API element is subject to removal in a future version.
/**
Database Listener that operates on a table having at least a key and a status field.
- Since:
- 4.7
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jdbc.JdbcListener
JdbcListener.MessageFieldType
-
Field Summary
Fields inherited from class org.frankframework.jdbc.JdbcListener
connection
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Configure this component.void
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'available'.void
setSelectQuery
(String string) Deprecated, for removal: This API element is subject to removal in a future version.Query that returns a row to be processed.void
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'error'.void
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'in process'.void
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'processed'.Methods inherited from class org.frankframework.jdbc.JdbcListener
afterMessageProcessed, changeProcessState, changeProcessState, closeThread, convertQuery, execute, extractMessage, extractRawMessage, getBlobCharset, getCorrelationIdField, getKeyField, getKeyFromRawMessage, getMessageField, getMessageFieldType, getMessageIdField, getPeekQuery, getRawMessage, getRawMessage, getSelectQuery, getSqlDialect, getUpdateStatusQuery, hasRawMessageAvailable, hasRawMessageAvailable, isBlobsCompressed, isBlobSmartGet, isPeekUntransacted, isTrace, knownProcessStates, openThread, setBlobCharset, setBlobsCompressed, setBlobSmartGet, setCorrelationIdField, setKeyField, setMessageField, setMessageFieldType, setMessageIdField, setPeekQuery, setPeekUntransacted, setSqlDialect, setTrace, setUpdateStatusQuery, start, stop, targetProcessStates
Methods inherited from class org.frankframework.jdbc.JdbcFacade
getAuthAlias, getConnection, getConnectionWithTimeout, getDatasource, getDataSourceFactory, getDatasourceInfo, getDatasourceName, getDbmsSupport, getDomain, getLogPrefix, getPassword, getPhysicalDestinationName, getUsername, isConnectionsArePooled, isRunning, isTransacted, setAuthAlias, setConnectionsArePooled, setDataSourceFactory, setDatasourceName, setDbmsSupportFactory, setJmsRealm, setPassword, setTransacted, setUsername
Methods inherited from class org.frankframework.jndi.JndiBase
getApplicationContext, getAuthentication, getConfigurationClassLoader, getContext, getCredentials, getInitialContextFactoryName, getJmsRealmName, getJndiAuthAlias, getJndiContextPrefix, getJndiEnv, getJndiProperties, getName, getPrincipal, getProviderURL, getSecurityProtocol, getUrlPkgPrefixes, setApplicationContext, setAuthentication, setCredentials, setInitialContextFactoryName, setJndiAuthAlias, setJndiContextPrefix, setJndiProperties, setName, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixes, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoader
-
Constructor Details
-
JdbcQueryListener
public JdbcQueryListener()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
configure
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IConfigurable
Configure this component.In the case of a container, this will propagate the configure signal to all components that apply.
- Specified by:
configure
in interfaceIConfigurable
- Specified by:
configure
in interfaceIListener
- Overrides:
configure
in classJdbcListener
- Throws:
ConfigurationException
- in case it was not able to configure the component.
-
setSelectQuery
Deprecated, for removal: This API element is subject to removal in a future version.Query that returns a row to be processed. Must contain a key field and optionally a message field.- Overrides:
setSelectQuery
in classJdbcListener
-
setUpdateStatusToProcessedQuery
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'processed'. Must contain one parameter, that is set to the value of the key -
setUpdateStatusToErrorQuery
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'error'. Must contain one parameter, that is set to the value of the key- Default value
- same as
updateStatusToProcessedQuery
-
setUpdateStatusToInProcessQuery
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'in process'. Must contain one parameter, that is set to the value of the key. Can be left emtpy if database has SKIP LOCKED functionality and the Receiver can be (and is) set to Required or RequiresNew. -
setRevertInProcessStatusQuery
Deprecated, for removal: This API element is subject to removal in a future version.SQL statement to set the status of a row to 'available'. Must contain one parameter, that is set to the value of the key. Only used in rollbacks, when updateStatusToInProcessQuery is specified
-