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")
}
)