Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 20th, 2005, 07:43 PM
DBStudent DBStudent is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 54 DBStudent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 1 m 34 sec
Reputation Power: 5
Oracle AQ notification

Hi, this is regarding oracle aq.

Suppose the oracle AQ is a asychronous messaging technology, how ever, i dont understand how to set up this:

1)if a new record is inserted into table 'student', how to setup so that the oracle will enqueue the new record into queue?

2)if the is a new object in queue, how to setup a notification mechanism so that the oracle will send the notification to the target?

This is urgent for me. Any guideline will be appreciated!


Thanks in advance.

Reply With Quote
  #2  
Old January 21st, 2005, 04:09 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,707 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 2 h 38 m 50 sec
Reputation Power: 259
Use Google -> URL and URL2 (ppt)
but why Oracle AQ? Just use JMS

Reply With Quote
  #3  
Old January 21st, 2005, 10:52 AM
DBStudent DBStudent is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 54 DBStudent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 1 m 34 sec
Reputation Power: 5
hi, thanks for ur information.

my client's database is Oracle 9i, so i use AQ and AQ can utilize the RAC (Real Application Cluster).

another question that i need to know is:
do i need a j2ee server to run jms client?

if i use Sun ONE server, how do i configure the JMS configuration in Sun ONE, so that it can connect to AQ?


thanks

Reply With Quote
  #4  
Old January 23rd, 2005, 06:19 AM
DBStudent DBStudent is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 54 DBStudent User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 1 m 34 sec
Reputation Power: 5
Oracle AQ notification fail to work

Ok, i managed to create queue, and perform enqueue/dequeue operation.

now, there r two databases: HR and warehouse. The enqueue operation in HR db while the dequeue operation in warehouse db.

i have register the notification using DBMS_AQ.register the dequeue operation (a stored procedure) to receive notification.

however, the dequeue operation is not called when there is a new message in queue.

what do i need to check? do i need to add schedule for the notification?

thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Oracle AQ notification


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway