Advanced Queuing-Asynchronous Notification-Recipient List

Hi,
i did a asynchronous notification with a PL/SQL callback and a consumer(subscriber) and it worked properly. Now i want to make an asynchronous notification with a PL/SQL callback and a consumer but this time the consumer is a recipient from a recipient_list. But it doesn't work. Now i wonder if it is possible to do an asynchronous notification with a recipient list.
thx

Hi Hendrik
How did you do the asynch. notification with PL/SQL?
polelo marule
mtn-nigeria.
[email protected]

Similar Messages

  • Advanced Queues question

    Hi.
    Can anyone tell me how soon after I place an item into an advanced queue, the notification procedure (which was registered via dbms_aq.register to process the items in the queue) is called when that item is commited?
    Ie: what delay Oracle has? Is it configurable? I am having trouble finding information on the timing of the operation.

    I have read through as much as of the documentation I can find, and now including your link rp0428 ( thank you by the way ) however information on timing is somewhat illusive.
    I'll be creating items in the queue in an after statement trigger ( this way, any rollbacks will also rollback the placed queue item). The plan is to kick off processing once the commit has occurred ( to look at and take action on the latest information updated or inserted).
    My concern was if the record I'm interested in is updated (I don't think I need to worry about inserts) several times (with commits each time) in quick succession. It would create several items in the queue (which is correct, I want it to fire for each commit)
    The notification procedure I register (by the time it is called) may not know several updates have occurred. I know I could possibly include in the queue, a copy of the data but the design I'm trying to follow can't use that information (in order to meet some design goals).
    If the notification (this is all via pl*sql by the way, not email or java) takes a few seconds I'll have a problem. If almost instantly, that's good however information on the speed of that is what may make or break this design.

  • Propagation between queues in Oracle Advanced Queuing

    We would like to connect two queues that reside in different database schemas/instances.
    We try to use the propagation feature of Oracle to achieve this.
    The queue-type is the same for both queues.
    Enqueuing is done with a recipient list in order to set multiple local subscribers for the messages that are put onto the queue.
    We would like to propagate between queues without changing the applications that write to originating queue and the other applications that read from the target queue.
    During our research we only found ways where we need to change the application that writes onto the queue, which is not acceptable for us. Also the list of subscribers needs to be different based on the message.
    Therefore I have the following question:
    - is there a way to set up propagation between queues in a way where we don't need to modify the sending application?
    - if not, is there a different way to connect two queues via a subscriber/consumer?

    Oracle8i for Linux does have AQ, although I haven't evaluated it
    yet. If you're still having trouble with the install, make sure
    you get the patch. A quicker and easier way to get Oracle8i up
    cheaply for evaluation is to download the NT version. I'm
    evaluating Oracle8i for both Linux and NT and the NT version is
    more stable.
    I would really appreciate hearing about your experiences with AQ
    on Oracle8 (8.0.4.3). I have several projects that we have been
    considering using AQ with. Please send me an email and tell me
    what problems / work-arounds you found.
    Christian Schroeder (guest) wrote:
    : Hello,
    : I still haven't managed to install 8i completely
    : (files with zero-length, wrong permissions, wrong JVM, ...),
    : anyway... -))
    : We are using Oracle Advanced Queuing under 8.0.4.3 on AIX in
    : a project at my company and I wondered if AQ is in 8i for
    Linux?
    : I really would like to evaluate it at home, since the AIX
    : AQ version has some bugs and restrictions which I really need
    to
    : get around.
    : My idea is to get 8i for AIX, but I wouldn't buy it if the
    : queuing is still unstable.
    : The 8.0.4 documentation states that one will get AQ in the
    : Enterprise Edition with message-type 'RAW' and the Objects
    Option
    : will add full functionality if also purchased. I didn't find
    : any comments on AQ in the installation guide.
    : Regards,
    : Christian
    null

  • How can I import a previous recipient list from Snow Leopard?

    I just upgraded computers and did a clean install without Migration Assistant. How can I import the previous recipient list in Mail? As a way of having a backup, I deleted my address book on the old computed, added all the previous recipients to the Address Book, and exported the address book as an Address Book Archive and also a VCF file.
    Thanks.

    PAHU,
    To answer your question, the new AIO is also a Canon, an MG8120 - I could be wrong, but I got the impression the printer removal might have been part of the Lion upgrade code.  i.e. "I see you have a new printer, do you  want to keep the old printer that I can't find?"
    I see the IJScanner and Devices folders.  Given that both AIOs are/were Canons, any suggestions on how to remove just the MP970 components without affecting the MG8120 ones?  (The ones in the TWAIN Data Sources were clearly labeled, so it was easy to tell what belonged to what.)
    Thanks in advance.
    Sorry for the delay in responding.  I must have my notifications messed up.  Never got an e-mail indicating there had been a reply to my question.

  • Invalid recipient list

    Hi,
    I'm new to Advanced Queueing and i did everything by the book.
    i created a queue table, queue, started the queue and i enqueued a message via PL/SQL stored procedures.
    now i want to listen to my queue via an a java class. I got this from an oracle documentation..
    aq_sess = AQDriverManager.createAQSession(db_conn);
    agt_list = new AQAgent[3];
    agt_list[0] = new AQAgent(null, "aqadmin.ches_q",0);
    ret_agt = aq_sess.listen(agt_list, 120);
    but i always get a JMS-145 Invalid recipient list exception
    i've already specified a recipient list on my message properties when i enqueued my message. i even specified the right subscribers.
    what am i doing wrong?? please help!
    Thanks
    Chesca

    no need to help me, i already got it.

  • Asynchronous Notifications: System Views?

    Let's say I have a 9.2.0.5. queue that I know has some asynchronous notifications registered.
    How do I find out what those are? What system view lists them?
    How can I add another notification to those that already exist? (It seems as though DBMS_AQ.register simply replaces those that exist).
    Thank you for your time!

    Lars,
    On further investigation, what you say above is true if the view is a CUBE, but the description does not display in that table for DIMENSION views.
    Is there somewhere else to look in that case ?
    Many Thanks again ........

  • Problem with "subject" & "recipient list" of reporting agent

    Hi,
    I've created an exception in a query & assigned "E-mail notification" for this exception in reporting agent. I entered "Subject" field and assigned "distribution list" to "Recipient list" field in the e-mail notification attributes.
    After transporting, reporting agent & package, everything moved fine but subject & recipient fields are not carried over to Quality system. both the fields are blank.
    What is the problem?
    How do I make sure that these 2 fields are also transported to Quality & Production rather than manually maintaining them again in the target system.
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst
    Message was edited by: Immadi Hari

    Hari,
    Did you ever get this resolved?  We are currently experiencing the same problem.
    Thanks,
    Bill Lomeli

  • Extended Notifications - Recipient Address

    Hi,
    I am creating a subscription in SWNCONFIG (Extended Nofications) that should go to a particular e-mail address. When I set an e-mail adress with INT Internet Mail nothing is sent via report swn_selsen. The subscription works fine when setting a user and RML Internal SAP User, Furthermore, it also works with a * and CUS Receiver Determination Through Handler. Any ideas what the problem could be?
    Here is an example of my subscription settings:
    Scenario             
    WORKFLOW
    Category             
    MYCATEGORY
    Subscription        
    MYSUBSCRIPTION
    Description         
    Administrator Inbox
    Delivery Schedule  
    MYDELIVERYSCHEDULE
                          Deactivated                    
    Delivery Type       
    EMAIL_HTML
    Granularity         
    1 One Message Per Notification
    Recipient Address   
    myname @ company . com
    Recipient Type      
    INT Internet Mail
    Handler                                             
    Thanks.

    Hi,
    I solved the problem by creating my own subscription handler. It is a copy of CL_SWN_SUBSCRIPTION and reads a distribution list with an e-mail address.
    Cheers.

  • Problem when creating standard recipient list for all documents

    Dear All,
    I am facing 'NO_RELATION_EXIST' dump issue. So i am following note 509191 provided by SAP. At the moment i am trying 2nd  option i.e. for automatic document distribution, i am trying to create one standard recipient list for all documents to be released. However when i try creating a recipient list it does not allow me to create for a particular document type. As i can see there are 2 important key fields Document no and Document type. But i want to create only for a document type. The reason for that is this document type is for a PR attachment. So as soon as a PR gets released by the final approver this distribution should happen, irrespective of document number.
    Please let me know if this is possible. I would like to apologize if it's too simple of a question as i am an ABAP person and have no knowledge in DMS. And there is no DMS consultant whom i can approach.
    Thanking in advance.
    Regards,
    Saud

    ...distribution should happen, irrespective of document number...
    This wouldn't be feasible because documents are identified in the recipient list by both,the document number and document type and hence are mandatory inputs.
    Regards,
    Pradeepkumar Haragoldavar

  • Advanced Queues

    Hi:
    I was testing AQ on Oracle Database XE, and it seems working correctly.
    In the 'Strawman Feature Factoring List' I have seen that Advanced Queuing should be comprised in the production release.
    Has anyone tested throughly this feature on XE?
    Did anyone had issues with it?
    Any feedback welcome,
    Cheers,
    Andrea

    What version?
    For 10G R2 you can Start with:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14229/toc.htm
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14229/toc.htm
    If you are using triggers I would recommend that you create a package that submits to the queues that the triggers interface with. That way you don't litter up the trigger code with AQ specific syntax.
    If you have a more specific question please post it.

  • FORMS APEX communication through Advanced Queuing

    Hi there,
    I have to prepare a proof of concept for an APEX application and the customer asked me if it is possible to establish a communication between FORMS and APEX besides using an URL call.
    Would the usage of Advanced Queuing be a good practice for this asynchronous communication?
    Regards
    Tareq.

    AQ will work on the Forms side, but not (or very complex) on the APEX side, because APEX is stateless (so no DB connection) and uses session pooling (you can hav another DB session for every roundtrip).
    But maybe this will help:
    http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html
    http://roelhartman.blogspot.com/2009/10/forms-apex-integration-video.html
    http://roelhartman.blogspot.com/2009/10/integration-of-forms-and-apex-calling.html

  • DBMS_ALERT supports asynchronous notification

    Hi,
    Im working over dbms_alert package, and I would like to know whats the meaning about:
    "*DBMS_ALERT supports asynchronous notification of database events (alerts)*".
    Could anybody explain it to me?
    Thanks a lot in advanced....

    EZGms wrote:
    Hi,
    Im working over dbms_alert package, and I would like to know whats the meaning about:
    "*DBMS_ALERT supports asynchronous notification of database events (alerts)*".
    Could anybody explain it to me?
    Thanks a lot in advanced....http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_alert.htm#ARPLS351
    "Suppose a graphics tool is displaying a graph of some data from a database table. The graphics tool can, after reading and graphing the data, wait on a database alert (WAITONE) covering the data just read. The tool automatically wakes up when the data is changed by any other user. All that is required is that a trigger be placed on the database table, which performs a signal (SIGNAL) whenever the trigger is fired."
    provides "real time" notification

  • Advance Queue - Parallelism

    I'm using an queue with async. notification.
    My callback procedure will be called for every message, but its everytime the same job, so only one message will be procced at one time.
    Is it possible to configure oracle, to use more processes.
    I don't mean dispatch the same message to many consumers.
    Anybody out there who knows ??
    Even if i increase the job queue process it is taking maximum of 6 or 7 parallel queues at a time.
    Whether i have to set any other setting to AQ.
    Please give our answer on this issue it is more help to me.
    Reagrds,
    TOM

    Hello,
    I am also facing the same problem.
    I have the stored procedure which regularly takes the back up at some fixed interval. I want to do these using Advance Queuing. I wnat to do these using Oracle installed on Linux.
    Please help to have the solution. You can also reply me at [email protected] .

  • Advanced queuing ...regarding

    Hi...
    I have to work on project which deals with advanced queuing...
    I gone through the docs ...but i couldn't understand fully...can anyone help in this aspect my questions are
    what i have to configure in my system?(software)
    how i have to move?
    please help me with an example..
    thanxs in advance.

    Oracle AQ is used as a means of asynchronous communication between two (or more) Oracle databases.
    Instead of communicating directly to the remote DB within your online application, you post a message into a local AQ queue (which would already have been setup for queue propagation) and Oracle takes care of making sure that it is made available at the destination (remote) AQ queue (it handles remote server not available and other transient errors automatically).
    Once the message appears at the remote queue, it could be read and appropriate action performed (as indicated by message contents).

  • Nested Tables and Advanced Queues- Please Help.

    How do i work with NestedTable type and Advanced Queue.
    I have done the following
    I have Oracle 8.1.7 enterprise edition.
    create type myType as TABLE OF varchar(32);
    create type myObject as OBJECT (
    id int,
    myt myType);
    DECLARE
    BEGIN
    dbms_aqadm.create_queue_table(
    queue_table => 'my_queue_table',
    multiple_consumers => TRUE,
    queue_payload_type => 'myObject',
    compatible => '8.1.3'
    END;
    The Nested Table and Object are created successfully.
    but the queue is not created.
    I get the following message.
    DECLARE
    ERROR at line 1:
    ORA-22913: must specify table name for nested table column or
    attribute
    ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2012
    ORA-06512: at "SYS.DBMS_AQADM", line 55
    ORA-06512: at line 3
    I know how to specify the nested table storage clause for
    create table statement, but there is no provision for
    it in the create_queue_table procedure.
    Any help will be greately appriciated.
    i have already created and tested aqs with simple data types,
    also i have created simple tables with nested table type
    elements.
    but the combo of Nested tables and AQ is not working.
    thanks in advance.

    Hi Francois. Thank you very much for your reply, but it seems that i still get errors. So let me tell what i have done.
    As you suggested me: i have done a block based on a sub-query for the nested-table:
    'select courses from department where name= :department.name'.
    In the master block(department) i have the when-new-record-instance trigger:
    Declare
    LC$Req varchar2(256);
    Begin
    LC$Req := '(select ns.courses from table
    ( select courses from department where name = ''' || :DEPARTMENT.name || ''' ) ns )';
    Go_block('block11');
    Clear_Block ;
    Set_Block_Property( 'block11', QUERY_DATA_SOURCE_NAME, LC$Req ) ;
    Execute_query ;
    End ;
    Now the errors i receive, this time in the runtime mode are:
    - FRM-41380: Cannot set the blocks query data source
    -FRM-41003: This function cannot be performed here.
    Since it seems that you know how to work with the nested table i would really appreaciate your help. I am new in the nested table and if you could give an ex with my tables it would be great.
    Thank you in advance.

Maybe you are looking for

  • I think my PB G4 is dead, what can I do with hard drive?

    I'm convinced my Powerbook G4 17" 1.5GHz OS 10.4 (let's call him "Mr. Dead") has died...maybe you can verify my diagnosis near the bottom.  Since I think he's dead, but I think the hard drive might be fine, I'd like advice on what I can do with the h

  • Uninstall and Re-Install

    Can I uninstall my Logic Pro by just dragging the program to the trash on my Mac. Secondly can I then just do a clean install? Thanks.

  • Split and Joins?

    Hi, Could anyone explain the split and Join with simple scenarios? I understand that a split is geared towards movement from one activity to more than one activities, and vice-versa for a Join! But, is there a 'correlation' between the Or-split, And-

  • Macbook pro (late 2008) running Mountain Lion... crash!?

    Hey, my macbook pro crashes from time to time... i think it is when i do graphic intense stuff like rendering finalcut or playing c&c... playing c&c for example it restarts every time after several minutes of playing with the following report: can so

  • Pagination PivotTable.

    friends I can help with this, excuse my English, I'm from Chile. In a dynamic table with paging General Totals want to see, not a total per page. How I can show General Totals in a dynamic table with paging? Any help is Appreciated Edited by: 790431