1
A
回答
2
這裏的基礎知識。 conn變量包含一個已經連接到數據庫的常規JDBC連接類。
QueueConnection queueConnection = AQjmsQueueConnectionFactory.
createQueueConnection(conn);
QueueSession queueSession = queueConnection.
createQueueSession(true, Session.SESSION_TRANSACTED);
Queue queue=queueSession.createQueue("my_oracle_queue");
QueueReceiver receiver= queueSession.createReceiver(queue);
queueConnection.start();
Message message=receiver.receive();
像AQjmsQueueConnectionFactory這樣的Oracle特定類位於包oracle.jms中。
相關問題
- 1. 甲骨文AQ:歷史表
- 2. 甲骨文AQ性能調整
- 3. Spring JMS和Oracle AQ
- 4. 甲骨文AQ Java接口和自定義消息類型
- 5. 甲骨文RATIO_TO_REPORT和彙總
- 6. 甲骨文和分頁
- 7. 查詢和甲骨文12C
- 8. 甲骨文組和樞軸
- 9. 在甲骨文
- 10. 甲骨文
- 11. 在甲骨文
- 12. 甲骨文
- 13. 在甲骨文
- 14. 在甲骨文
- 15. 甲骨文asp.net
- 16. 在甲骨文
- 17. 在甲骨文
- 18. 在甲骨文
- 19. 與甲骨文
- 20. 在甲骨文
- 21. sp_generate_inserts甲骨文
- 22. 甲骨文,REGEXP_LIKE
- 23. 在甲骨文
- 24. 在甲骨文
- 25. 在甲骨文
- 26. 在甲骨文
- 27. 在甲骨文
- 28. 觸發甲骨文
- 29. 甲骨文在Ubuntu
- 30. 甲骨文:由柱
嗨JOTN,謝謝你。我們有不斷輪詢隊列的樣本嗎? – Damien 2010-12-08 18:44:11