- Enclosing class:
- OracleDSL
- Author:
- Lukas Eder
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumA flag corresponding toDBMS_AQ.DEQUEUE_OPTIONS_T.DELIVERY_MODEand toDBMS_AQ.ENQUEUE_OPTIONS_T.DELIVERY_MODE.static enumA flag corresponding toDBMS_AQ.DEQUEUE_OPTIONS_T.DEQUEUE_MODE.static final classARECORDcorresponding toDBMS_AQ.DEQUEUE_OPTIONS_T.static final classARECORDcorresponding toDBMS_AQ.ENQUEUE_OPTIONS_T.static final classARECORDcorresponding toDBMS_AQ.MESSAGE_PROPERTIES_T.static enumA flag corresponding toDBMS_AQ.DEQUEUE_OPTIONS_T.NAVIGATION.static enumA flag corresponding toDBMS_AQ.ENQUEUE_OPTIONS_T.SEQUENCE_DEVIATION.static enumA flag corresponding toDBMS_AQ.DEQUEUE_OPTIONS_T.VISIBILITYand toDBMS_AQ.ENQUEUE_OPTIONS_T.VISIBILITY.static enumA flag corresponding toDBMS_AQ.DEQUEUE_OPTIONS_T.WAIT.
- 
Method SummaryModifier and TypeMethodDescriptionstatic <R extends UDTRecord<R>>
 Rdequeue(Configuration configuration, Queue<R> queue) Dequeue a message in an Oracle AQ.static <R extends UDTRecord<R>>
 Rdequeue(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue a message in an Oracle AQ.static <R extends UDTRecord<R>>
 Rdequeue(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue a message in an Oracle AQ.static <R extends UDTRecord<R>>
 CompletionStage<R>dequeueAsync(Executor executor, Configuration configuration, Queue<R> queue) Dequeue a message in an Oracle AQ, asynchronously in the given executor.static <R extends UDTRecord<R>>
 CompletionStage<R>dequeueAsync(Executor executor, Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue a message in an Oracle AQ, asynchronously in the given executor.static <R extends UDTRecord<R>>
 CompletionStage<R>dequeueAsync(Executor executor, Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue a message in an Oracle AQ, asynchronously in the given executor.static <R extends UDTRecord<R>>
 CompletionStage<R>dequeueAsync(Configuration configuration, Queue<R> queue) Dequeue a message in an Oracle AQ asynchronously.static <R extends UDTRecord<R>>
 CompletionStage<R>dequeueAsync(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue a message in an Oracle AQ asynchronously.static <R extends UDTRecord<R>>
 CompletionStage<R>dequeueAsync(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue a message in an Oracle AQ asynchronously.dequeueIterable(Configuration configuration, Queue<R> queue) Dequeue messages as an Oracle AQIterable.dequeueIterable(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue messages as an Oracle AQIterable.dequeueIterable(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue messages as an Oracle AQIterable.dequeueStream(Configuration configuration, Queue<R> queue) Dequeue messages as an Oracle AQStream.dequeueStream(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue messages as an Oracle AQStream.dequeueStream(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue messages as an Oracle AQStream.static <R extends UDTRecord<R>>
 voidenqueue(Configuration configuration, Queue<R> queue, R payload) Enqueue a message in an Oracle AQ.static <R extends UDTRecord<R>>
 voidenqueue(Configuration configuration, Queue<R> queue, R payload, OracleDSL.DBMS_AQ.ENQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Enqueue a message in an Oracle AQ.
- 
Method Details- 
enqueuepublic static <R extends UDTRecord<R>> void enqueue(Configuration configuration, Queue<R> queue, R payload) Enqueue a message in an Oracle AQ.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- payload- The message payload.
 
- 
enqueuepublic static <R extends UDTRecord<R>> void enqueue(Configuration configuration, Queue<R> queue, R payload, OracleDSL.DBMS_AQ.ENQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Enqueue a message in an Oracle AQ.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- payload- The message payload.
- options- The enqueue options.
- properties- The message properties.
 
- 
dequeueIterablepublic static <R extends UDTRecord<R>> Iterable<R> dequeueIterable(Configuration configuration, Queue<R> queue) Dequeue messages as an Oracle AQIterable.This returns an infinite Iterableof AQ messages. Messages are dequeued via individual calls toDBMS_AQ, so no resources are bound by the stream. TheIteratoris blocking on the AQ until new messages are delivered.Individual dequeue calls run in a TransactionalCallableand are committed immediately. Usedequeue(Configuration, Queue)instead, if you want to commit / rollback individual messages.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- Returns:
- The message payload.
 
- 
dequeueIterablepublic static <R extends UDTRecord<R>> Iterable<R> dequeueIterable(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue messages as an Oracle AQIterable.This returns an infinite Iterableof AQ messages. Messages are dequeued via individual calls toDBMS_AQ, so no resources are bound by the stream. TheIteratoris blocking on the AQ until new messages are delivered.Individual dequeue calls run in a TransactionalCallableand are committed immediately. Usedequeue(Configuration, Queue, DEQUEUE_OPTIONS_T)instead, if you want to commit / rollback individual messages.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- Returns:
- The message payload.
 
- 
dequeueIterablepublic static <R extends UDTRecord<R>> Iterable<R> dequeueIterable(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue messages as an Oracle AQIterable.This returns an infinite Iterableof AQ messages. Messages are dequeued via individual calls toDBMS_AQ, so no resources are bound by the stream. TheIteratoris blocking on the AQ until new messages are delivered.Individual dequeue calls run in a TransactionalCallableand are committed immediately. Usedequeue(Configuration, Queue, DEQUEUE_OPTIONS_T, MESSAGE_PROPERTIES_T)instead, if you want to commit / rollback individual messages.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- properties- The message properties OUT parameter. Resulting values will be stored here.
- Returns:
- The message payload.
 
- 
dequeueStreampublic static <R extends UDTRecord<R>> Stream<R> dequeueStream(Configuration configuration, Queue<R> queue) Dequeue messages as an Oracle AQStream.This returns an infinite Streamof AQ messages. Messages are dequeued via individual calls toDBMS_AQ, so no resources are bound by the stream. The stream is blocking on the AQ until new messages are delivered.Individual dequeue calls run in a TransactionalCallableand are committed immediately. Usedequeue(Configuration, Queue)instead, if you want to commit / rollback individual messages.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- Returns:
- The message payload.
 
- 
dequeueStreampublic static <R extends UDTRecord<R>> Stream<R> dequeueStream(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue messages as an Oracle AQStream.This returns an infinite Streamof AQ messages. Messages are dequeued via individual calls toDBMS_AQ, so no resources are bound by the stream. The stream is blocking on the AQ until new messages are delivered.Individual dequeue calls run in a TransactionalCallableand are committed immediately. Usedequeue(Configuration, Queue, DEQUEUE_OPTIONS_T)instead, if you want to commit / rollback individual messages.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- Returns:
- The message payload.
 
- 
dequeueStreampublic static <R extends UDTRecord<R>> Stream<R> dequeueStream(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue messages as an Oracle AQStream.This returns an infinite Streamof AQ messages. Messages are dequeued via individual calls toDBMS_AQ, so no resources are bound by the stream. The stream is blocking on the AQ until new messages are delivered.Individual dequeue calls run in a TransactionalCallableand are committed immediately. Usedequeue(Configuration, Queue, DEQUEUE_OPTIONS_T, MESSAGE_PROPERTIES_T)instead, if you want to commit / rollback individual messages.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- properties- The message properties OUT parameter. Resulting values will be stored here.
- Returns:
- The message payload.
 
- 
dequeueAsyncpublic static <R extends UDTRecord<R>> CompletionStage<R> dequeueAsync(Configuration configuration, Queue<R> queue) Dequeue a message in an Oracle AQ asynchronously.The dequeue call is completed asynchronously in a CompletionStagerun in anExecutorprovided by theconfiguration'sConfiguration.executorProvider()The dequeue operation will happen in a (nested) transaction. In order to control transaction behaviour, supply a Configurationwith appropriateTransactionProvider.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- Returns:
- The message payload.
 
- 
dequeueAsyncpublic static <R extends UDTRecord<R>> CompletionStage<R> dequeueAsync(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue a message in an Oracle AQ asynchronously.The dequeue call is completed asynchronously in a CompletionStagerun in anExecutorprovided by theconfiguration'sConfiguration.executorProvider()The dequeue operation will happen in a (nested) transaction. In order to control transaction behaviour, supply a Configurationwith appropriateTransactionProvider.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- Returns:
- The message payload.
 
- 
dequeueAsyncpublic static <R extends UDTRecord<R>> CompletionStage<R> dequeueAsync(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue a message in an Oracle AQ asynchronously.The dequeue call is completed asynchronously in a CompletionStagerun in anExecutorprovided by theconfiguration'sConfiguration.executorProvider()The dequeue operation will happen in a (nested) transaction. In order to control transaction behaviour, supply a Configurationwith appropriateTransactionProvider.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- properties- The message properties OUT parameter. Resulting values will be stored here.
- Returns:
- The message payload.
 
- 
dequeueAsyncpublic static <R extends UDTRecord<R>> CompletionStage<R> dequeueAsync(Executor executor, Configuration configuration, Queue<R> queue) Dequeue a message in an Oracle AQ, asynchronously in the given executor.The dequeue operation will happen in a (nested) transaction. In order to control transaction behaviour, supply a Configurationwith appropriateTransactionProvider.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- Returns:
- The message payload.
 
- 
dequeueAsyncpublic static <R extends UDTRecord<R>> CompletionStage<R> dequeueAsync(Executor executor, Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue a message in an Oracle AQ, asynchronously in the given executor.The dequeue operation will happen in a (nested) transaction. In order to control transaction behaviour, supply a Configurationwith appropriateTransactionProvider.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- Returns:
- The message payload.
 
- 
dequeueAsyncpublic static <R extends UDTRecord<R>> CompletionStage<R> dequeueAsync(Executor executor, Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue a message in an Oracle AQ, asynchronously in the given executor.The dequeue operation will happen in a (nested) transaction. In order to control transaction behaviour, supply a Configurationwith appropriateTransactionProvider.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- properties- The message properties OUT parameter. Resulting values will be stored here.
- Returns:
- The message payload.
 
- 
dequeueDequeue a message in an Oracle AQ.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- Returns:
- The message payload.
 
- 
dequeuepublic static <R extends UDTRecord<R>> R dequeue(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options) Dequeue a message in an Oracle AQ.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- Returns:
- The message payload.
 
- 
dequeuepublic static <R extends UDTRecord<R>> R dequeue(Configuration configuration, Queue<R> queue, OracleDSL.DBMS_AQ.DEQUEUE_OPTIONS_T options, OracleDSL.DBMS_AQ.MESSAGE_PROPERTIES_T properties) Dequeue a message in an Oracle AQ.- Parameters:
- configuration- The configuration from which to get a connection.
- queue- The queue reference.
- options- The dequeue options.
- properties- The message properties OUT parameter. Resulting values will be stored here.
- Returns:
- The message payload.
 
 
-