• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

use MDB to perform dequeue on Oracle AQ

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I would like to know how to perform browse mode in MDB for Oralce AQ? I found that there is a sample code in oracle OTN (http://download.oracle.com/docs/cd/B10500_01/appdev.920/a96587/qsample.htm#65833). However, i dont know where should i put those code segment in my MDB, as i am using the annotation to define Queue info as follow. Please kindly help me

@MessageDriven(
activationConfig = {
@ActivationConfigProperty(
propertyName="messageListenerInterface",
propertyValue="javax.jms.MessageListener"),
@ActivationConfigProperty(
propertyName="connectionFactoryJndiName",
propertyValue="java:comp/resource/myProvider/QueueConnectionFactories/myQCF"),
@ActivationConfigProperty(
propertyName="destinationName",
propertyValue="java:comp/resource/myProvider/Queues/EPR_AQ_ADMIN.TEST_MYQUE"),
@ActivationConfigProperty(
propertyName="destinationType",
propertyValue="javax.jms.Queue")
//propertyValue="oracle.AQ.AQOracleQueue")
}
)
 
reply
    Bookmark Topic Watch Topic
  • New Topic