Class AQInteraction
java.lang.Object
org.eclipse.persistence.internal.eis.adapters.aq.AQInteraction
- All Implemented Interfaces:
Interaction
Interaction to Oracle AQ JCA adapter.
Executes the interaction spec to enqueue or dequeue a message.
- Since:
- OracleAS TopLink 10g (10.0.3)
-
Field Summary
Modifier and TypeFieldDescriptionprotected AQConnection
Store the connection the interaction was created from. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
execute
(InteractionSpec spec, Record input) Execute the interaction spec.boolean
execute
(InteractionSpec spec, Record input, Record output) Execute the interaction and set the output into the output record.protected void
executeDequeueInteraction
(AQDequeueInteractionSpec spec, AQRecord input, AQRecord output) Execute the dequeue interaction.protected void
executeEnqueueInteraction
(AQEnqueueInteractionSpec spec, AQRecord input, AQRecord output) Execute the enqueue interaction.
-
Field Details
-
connection
Store the connection the interaction was created from.
-
-
Constructor Details
-
AQInteraction
Default constructor.
-
-
Method Details
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarnings
in interfaceInteraction
-
close
public void close()- Specified by:
close
in interfaceInteraction
-
execute
Execute the interaction spec. The spec is either an enqueue or dequeue interaction.- Specified by:
execute
in interfaceInteraction
- Throws:
ResourceException
-
execute
Execute the interaction and set the output into the output record. The spec is either an enqueue or dequeue interaction. Only raw messages are supported.- Specified by:
execute
in interfaceInteraction
- Throws:
ResourceException
-
executeEnqueueInteraction
protected void executeEnqueueInteraction(AQEnqueueInteractionSpec spec, AQRecord input, AQRecord output) throws ResourceException Execute the enqueue interaction. Only raw messages are supported.- Throws:
ResourceException
-
executeDequeueInteraction
protected void executeDequeueInteraction(AQDequeueInteractionSpec spec, AQRecord input, AQRecord output) throws ResourceException Execute the dequeue interaction. Only raw messages are supported.- Throws:
ResourceException
-
getConnection
- Specified by:
getConnection
in interfaceInteraction
-
getWarnings
- Specified by:
getWarnings
in interfaceInteraction
-