@Deprecated @ConfigurationWarning(value="Please replace with JdbcTableListener for ease of configuration and improved manageability") public class JdbcQueryListener extends JdbcListener
JdbcListener.MessageFieldType
HasStatistics.Action
connection, CORRELATION_ID_KEY, STORAGE_KEY_KEY
Constructor and Description |
---|
JdbcQueryListener()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configure()
Deprecated.
configure() is called once at startup of the framework in the configure() method
of the owner of this listener. |
void |
setRevertInProcessStatusQuery(String query)
Deprecated.
SQL statement to set the status of a row to 'available'.
|
void |
setSelectQuery(String string)
Deprecated.
|
void |
setUpdateStatusToErrorQuery(String query)
Deprecated.
SQL statement to set the status of a row to 'error'.
|
void |
setUpdateStatusToInProcessQuery(String query)
Deprecated.
SQL statement to set the status of a row to 'in process'.
|
void |
setUpdateStatusToProcessedQuery(String query)
Deprecated.
SQL statement to set the status of a row to 'processed'.
|
afterMessageProcessed, changeProcessState, changeProcessState, close, closeThread, convertQuery, execute, extractMessage, extractRawMessage, getIdFromRawMessage, getKeyFromRawMessage, getRawMessage, getRawMessage, getUpdateStatusQuery, hasRawMessageAvailable, hasRawMessageAvailable, knownProcessStates, open, openThread, setBlobCharset, setBlobsCompressed, setBlobSmartGet, setCorrelationIdField, setKeyField, setMessageField, setMessageFieldType, setMessageIdField, setPeekQuery, setPeekUntransacted, setSqlDialect, setTrace, setUpdateStatusQuery, targetProcessStates
getAuthAlias, getConnection, getConnectionWithTimeout, getDatasource, getDatasourceInfo, getDatasourceName, getDbmsSupport, getLogPrefix, getPassword, getPhysicalDestinationName, getUsername, isConnectionsArePooled, isTransacted, iterateOverStatistics, setAuthAlias, setConnectionsArePooled, setDatasourceName, setDbmsSupportFactory, setJmsRealm, setPassword, setTransacted, setUsername
getContext, getJndiEnv, setAuthentication, setCredentials, setInitialContextFactoryName, setJndiAuthAlias, setJndiContextPrefix, setJndiProperties, setName, setPrincipal, setProviderURL, setSecurityProtocol, setUrlPkgPrefixes, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isPeekUntransacted
getName, setName
getApplicationContext, getName
getConfigurationClassLoader
setApplicationContext
getDomain
public void configure() throws ConfigurationException
IListener
configure()
is called once at startup of the framework in the configure()
method
of the owner of this listener.
Purpose of this method is to reduce creating connections to databases etc. in the IPullingListener.getRawMessage(Map)
method.
As much as possible class-instantiating should take place in the
configure()
or open()
method, to improve performance.configure
in interface IConfigurable
configure
in interface IListener
configure
in class JdbcListener
ConfigurationException
public void setSelectQuery(String string)
setSelectQuery
in class JdbcListener
public void setUpdateStatusToProcessedQuery(String query)
public void setUpdateStatusToErrorQuery(String query)
updateStatusToProcessedQuery
public void setUpdateStatusToInProcessQuery(String query)
public void setRevertInProcessStatusQuery(String query)
Copyright © 2023 Frank!Framework. All rights reserved.