Concerning the following configuration for OracleAQ in Spring
The problem here is that despite the fact that we don't have subscription LUKAS34 (but we have other - LUKAS) above configuration causes that all messages from AQ_TS_MY_TEST are read.PHP Code:<jms:listener-container connection-factory="connectionFactory"
client-id="LUKAS34"
message-converter="messageConverter"
container-class="org.springframework.data.jdbc.jms.listener.oracle.AdtMessageListenerContainer"
destination-type="topic">
<jms:listener destination="AQ_TS_MY_TEST"
ref="messageDelegate" method="handleMessage" subscription="LUKAS34" />
</jms:listener-container>
I expect that if I define subscription="LUKAS" all messages for this subscription will be read and otherwise none will be read.
What is the problem with above configuration?
Additionally I see that that in table:
is many entries like 'TSUB_1_*' which seems to me that spring configuration 'creates' new consumers and name 'LUKAS' is skipped.PHP Code:select *
from ALL_QUEUE_SUBSCRIBERS;


Reply With Quote
