• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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")
}
)
 
You guys wanna see my fabulous new place? Or do you wanna look at this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic