Class OracleChannelMessageStoreQueryProvider
java.lang.Object
org.springframework.integration.jdbc.store.channel.OracleChannelMessageStoreQueryProvider
- All Implemented Interfaces:
ChannelMessageStoreQueryProvider
public class OracleChannelMessageStoreQueryProvider
extends Object
implements ChannelMessageStoreQueryProvider
Contains Oracle-specific queries for the
JdbcChannelMessageStore
. Please
ensure that the used JdbcTemplate
's fetchSize
property is 1
.
- Since:
- 2.2
- Author:
- Gunnar Hillert, Artem Bilan, Gary Russell
-
Field Summary
Fields inherited from interface org.springframework.integration.jdbc.store.channel.ChannelMessageStoreQueryProvider
SELECT_COMMON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionQuery to add a single message to the database.Get the query used to retrieve the oldest message for a channel excluding messages that match the provided message ids.Get the query used to retrieve the oldest message for a channel.Get the query used to retrieve the oldest message by priority for a channel excluding messages that match the provided message ids.Get the query used to retrieve the oldest message by priority for a channel.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.jdbc.store.channel.ChannelMessageStoreQueryProvider
getCountAllMessagesInGroupQuery, getDeleteMessageGroupQuery, getDeleteMessageQuery, getMessageCountForRegionQuery, getMessageQuery, isSingleStatementForPoll
-
Constructor Details
-
OracleChannelMessageStoreQueryProvider
public OracleChannelMessageStoreQueryProvider()
-
-
Method Details
-
getCreateMessageQuery
Description copied from interface:ChannelMessageStoreQueryProvider
Query to add a single message to the database.- Specified by:
getCreateMessageQuery
in interfaceChannelMessageStoreQueryProvider
- Returns:
- query string
-
getPollFromGroupExcludeIdsQuery
Description copied from interface:ChannelMessageStoreQueryProvider
Get the query used to retrieve the oldest message for a channel excluding messages that match the provided message ids.- Specified by:
getPollFromGroupExcludeIdsQuery
in interfaceChannelMessageStoreQueryProvider
- Returns:
- query string
-
getPollFromGroupQuery
Description copied from interface:ChannelMessageStoreQueryProvider
Get the query used to retrieve the oldest message for a channel.- Specified by:
getPollFromGroupQuery
in interfaceChannelMessageStoreQueryProvider
- Returns:
- query string
-
getPriorityPollFromGroupExcludeIdsQuery
Description copied from interface:ChannelMessageStoreQueryProvider
Get the query used to retrieve the oldest message by priority for a channel excluding messages that match the provided message ids.- Specified by:
getPriorityPollFromGroupExcludeIdsQuery
in interfaceChannelMessageStoreQueryProvider
- Returns:
- query string
-
getPriorityPollFromGroupQuery
Description copied from interface:ChannelMessageStoreQueryProvider
Get the query used to retrieve the oldest message by priority for a channel.- Specified by:
getPriorityPollFromGroupQuery
in interfaceChannelMessageStoreQueryProvider
- Returns:
- query string
-