09.12.2012 Views

Advanced Queuing - Oracle

Advanced Queuing - Oracle

Advanced Queuing - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Specifying JMS Message Property as Short .............................................................................. 16-41<br />

Specifying JMS Message Property as Object............................................................................ 16-43<br />

Setting Default TimeToLive for All Messages Sent by a Message Producer...................... 16-45<br />

Setting Default Priority for All Messages Sent by a Message Producer ............................. 16-46<br />

Creating an AQjms Agent............................................................................................................. 16-48<br />

Receiving a Message Synchronously Using a Message Consumer<br />

by Specifying Timeout................................................................................................................... 16-50<br />

Receiving a Message Synchronously Using a Message Consumer Without Waiting....... 16-52<br />

Specifying the Navigation Mode for Receiving Messages..................................................... 16-53<br />

Specifying a Message Listener to Receive a Message Asynchronously<br />

at the Message Consumer.............................................................................................................. 16-55<br />

Specifying a Message Listener to Receive a Message Asynchronously at the Session .... 16-58<br />

Getting the Correlation ID of a Message ................................................................................... 16-59<br />

Getting the Message ID of a Message as Bytes......................................................................... 16-60<br />

Getting the Message ID of a Message as a String .................................................................... 16-61<br />

Getting the JMS Message Property ............................................................................................. 16-63<br />

Getting the JMS Message Property as a Boolean ..................................................................... 16-64<br />

Getting the JMS Message Property as a String......................................................................... 16-66<br />

Getting the JMS Message Property as Int.................................................................................. 16-68<br />

Getting the JMS Message Property as Double ......................................................................... 16-70<br />

Getting the JMS Message Property as Float .............................................................................. 16-71<br />

Getting the JMS Message Property as Byte ............................................................................... 16-73<br />

Getting the JMS Message Property as Long.............................................................................. 16-74<br />

Getting the JMS Message Property as Short ............................................................................. 16-76<br />

Getting the JMS Message Property as Object........................................................................... 16-77<br />

Closing a Message Producer......................................................................................................... 16-79<br />

Closing a Message Consumer ...................................................................................................... 16-80<br />

Stopping a JMS Connection ......................................................................................................... 16-81<br />

Closing a JMS Session ................................................................................................................... 16-82<br />

Closing a JMS Connection............................................................................................................ 16-83<br />

Getting the Error Code for the JMS Exception.......................................................................... 16-84<br />

Getting the Error Number for the JMS Exception.................................................................... 16-85<br />

Getting the Error Message for the JMS Exception ................................................................... 16-86<br />

Getting the Exception Linked to the JMS Exception ............................................................... 16-88<br />

Printing the Stack Trace for the JMS Exception........................................................................ 16-89<br />

Setting the Exception Listener...................................................................................................... 16-90<br />

xvii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!