Asynchronous Notifications problem

Hi all,
Now I am developing with Oracle Advance Queuing.
In order to dequeue message from queue automatically when it arrives I have procedure dequeue as following:
PROCEDURE dequeue(CONTEXT RAW
,reginfo sys.aq$_reg_info
,descr sys.aq$_descriptor
,payload RAW
,payloadl NUMBER) IS
dq_opt dbms_aq.dequeue_options_t;
msg_pro dbms_aq.message_properties_t;
msg_id RAW(16);
msg xmltype;
Begin
dq_opt.msgid := descr.msg_id;
dq_opt.consumer_name := descr.consumer_name;
dbms_aq.dequeue(queue_name => descr.queue_name
,dequeue_options => dq_opt
,message_properties => msg_pro
,payload => msg
,msgid => msg_id);
End;
Register dequeue procedure:
declare
reginfolist sys.aq$_reg_info_list;
reginfo sys.aq$_reg_info;
Begin
reginfo := sys.aq$_reg_info(queue_in||':'||subscriber_name
,dbms_aq.namespace_aq
,'plsql://DEMO.dequeue'
,HEXTORAW('FF'));
reginfolist := sys.aq$_reg_info_list(reginfo);
dbms_aq.register(reginfolist, 1);
End;
subscriber_name is name of subscriber created as following command:
s:=sys.aq$_agent(subscriber_name,queue_in||db_link,NULL);
dbms_aqadm.add_subscriber(queue_name => qname, subscriber => s);
queue_in: queue to receive message named DEMO.QUEUEIN
qname : queue to send message named DEMO.QUEUEOUT
But when DEMO.QUEUEOUT propagated messages to DEMO.QUEUEIN it
was same no action in DEMO.QUEUEIN (message was stil in QUEUEIN until when I ran dequeue manually).
Please show me How to debug this problem?

Hello ,
for your coding itself I had the following variation/suggestion:
METHOD dialog_with_asynchronous_call.
   swc_container cont.
   REFRESH cont.
   swc_set_element cont 'Sourcer' source.
   swc_raise_event self 'Sourcer_assigned' cont.
   COMMIT WORK.
ENDMETHOD.
After the commit work statement, leave method immediatly.
Best regards,
Florin

Similar Messages

  • 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

  • I reset my iPhone 4 Network settings to fix the push notification problem, but I lost my internet connection. How do I fix it?

    I tried to solve the "connect to iTunes to receive push notifications"-problem by resetting my network settings, but it only caused me to lose my internet connection when using 3G. Now I can't do anything with this stupid phone. How do I fix it? I don't want to reset anything anymore, I'm sick of this new iOs update, it seriously messed up my phone and I can't do anything properly anymore. Any help?
    And btw, I would also like to get the push notifications back on. Connecting to iTunes did absolutely nothing. Resetting the network settings only made my situation worse. Help please!

    Hi there Julia,
    Ahh The iPhone isn't "stupid" it's been called "stupid" because you are frustrated at the situation , but try
    Load iTunes. Backup your phone. Make sure it is backed up !! Run restore. This will get rid of the error! And please what ever you do , do not skip the back up!
    Thanks,

  • Asynchronous notification help

    Need some help with asynchronous notification…….
    This is my jolt client:
    public Service(String mode, String postedName) {
    svcMode = mode;
    svcPostedName = postedName;
    if ( svcMode.equals(ASYNC_UNSOLNOTIFY) ) {
    jUnsolEvent = new JoltUserEvent(JoltUserEvent.UNSOLMSG, null, jSessAsync);
    else if ( svcMode.equals(ASYNC_PUBSUB) ) {
    jEventPost = new JoltUserEvent(svcPostedName, null, jSessAsync);
    I have simpapp configured and running. My client was able to successfully use the TOUPPER service advertised by tuxedo (jolt).
    I do not know when an unsolicited message will be triggered by tuxedo to test the async unsolicited msg with my client works. My client overrides the onReply() method the seems to be perfect. Please suggest few scenarios where I can receive an unsol-notification.
    For event notification I was asked to try subscribing to system events. In that case what should be the value of svcPostedName in:
    jEventPost = new JoltUserEvent(svcPostedName, null, jSessAsync); ?{color}
    My client doesnt take any expressionsas svcPostedName--that sounds like a bug, is it a bug?
    I have TMSYSEVT configured.
    And the ‘tmsysevt.dat’ is :
    TA_SUBSCRIPTION_HANDLE 1
    TA_CLASS T_EVENT_USERLOG
    TA_EVENT_EXPR \\.Sys.*
    TA_EVENT_FILTER TA_EVENT_SEVERITY=='ERROR'||TA_EVENT_SEVERITY=='WARN'
    TA_USERLOG %TA_EVENT_DESCRIPTION
    TA_SUBSCRIPTION_HANDLE 2
    TA_EB_DB_SEQNO 1
    TA_CLASS EB_DB_VERSION
    This is my Ubb config file:
    # (c) 2003 BEA Systems, Inc. All Rights Reserved.
    #ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
    #Skeleton UBBCONFIG file for the TUXEDO Simple Application.
    #Replace the <bracketed> items with the appropriate values.
    *RESOURCES
    IPCKEY 123456
    #Example:
    #IPCKEY 123456
    DOMAINID simpapp
    MASTER simple
    MAXACCESSERS 100
    MAXSERVERS 15
    MAXSERVICES 45
    MODEL SHM
    LDBAL N
    *MACHINES
    DEFAULT:
    TUXDIR="/ais_local/share/ankumar/BEA/tuxedo8.1/"
    APPDIR="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp"
    TUXCONFIG="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/tuxconfig"
    TLOGDEVICE="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/TLOG"
    TLOGNAME="TLOG"
    MAXWSCLIENTS=10
    "machineName" LMID=simple
    #Example:
    #beatux LMID=simple
    *GROUPS
    GROUP1
    LMID=simple GRPNO=1 OPENINFO=NONE TMSNAME="TMS"
    JSLGRP
    LMID=simple GRPNO=2 OPENINFO=NONE
    *SERVERS
    DEFAULT:
    CLOPT="-A"
    simpserv SRVGRP=GROUP1 SRVID=1
    JSL SRVGRP=JSLGRP SRVID=2 RESTART=Y MAXGEN=2 CLOPT="-A -- -n//10.11.23.66:3051"
    JREPSVR SRVGRP=JSLGRP SRVID=3 RESTART=Y MAXGEN=2 GRACE=0 CLOPT="-A -- -W -P /ais_local/share/ankumar/BEA/tuxedo8.1/udataobj/jolt/repository/jrepository"
    TMUSREVT SRVGRP=JSLGRP SRVID=4 RESTART=Y MAXGEN=2 GRACE=0 CLOPT="-A --"
    TMSYSEVT SRVGRP=JSLGRP SRVID=5 RESTART=Y MAXGEN=2 GRACE=0 CLOPT="-A --"
    *SERVICES
    TOUPPER
    Please respond with your suggestions.
    Thanks,
    Anish
    Edited by: Bangalore_anish on Feb 23, 2009 3:43 AM

    Hi Anish,
    You should receive an unsolicited notification when a server does a tpbroadcast() or tpnotify(). So if you want to receive an unsolicited notification with simpapp, you'll need to modify simpapp to either perform tpbroadcast() or tpnotify().
    You'll receive an event when an event is published that matches your subscription expression. Remember there are two different types of events, user events, and system events. As for the event name for system events, I would try in order:
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • 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]

  • 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 ........

  • Is this the best design for asynchronous notifications (such as email)? Current design uses Web Site, Azure Service Bus Queue, Table Storage and Cloud Service Worker Role.

    I am asking for feedback on this design. Here is an example user story:
    As a group admin on the website I want to be notified when a user in my group uploads a file to the group.
    Easiest solution would be that in the code handling the upload, we just directly create an email message in there and send it. However, this seems like it isn't really the appropriate level of separation of concerns, so instead we are thinking to have a separate
    worker process which does nothing but send notifications. So, the website in the upload code handles receiving the file, extracting some metadata from it (like filename) and writing this to the database. As soon as it is done handling the file upload it then
    does two things: Writes the details of the notification to be sent (such as subject, filename, etc...) to a dedicated "notification" table and also creates a message in a queue which the notification sending worker process monitors. The entire sequence
    is shown in the diagram below.
    My questions are: Do you see any drawbacks in this design? Is there a better design? The team wants to use Azure Worker Roles, Queues and Table storage. Is it the right call to use these components or is this design unnecessarily complex? Quality attribute
    requirements are that it is easy to code, easy to maintain, easy to debug at runtime, auditable (history is available of when notifications were sent, etc...), monitor-able. Any other quality attributes you think we should be designing for?
    More info:
    We are creating a cloud application (in Azure) in which there are at least 2 components. The first is the "source" component (for example a UI / website) in which some action happens or some condition is met that triggers a second component or "worker"
    to perform some job. These jobs have details or metadata associated with them which we plan to store in Azure Table Storage. Here is the pattern we are considering:
    Steps:
    Condition for job met.
    Source writes job details to table.
    Source puts job in queue.
    Asynchronously:
    Worker accepts job from queue.
    Worker Records DateTimeStarted in table.
    Queue marks job marked as "in progress".
    Worker performs job.
    Worker updates table with details (including DateTimeCompleted).
    Worker reports completion to queue.
    Job deleted from queue.
    Please comment and let me know if I have this right, or if there is some better pattern. For example sake, consider the work to be "sending a notification" such as an email whose template fields are filled from the "details" mentioned in
    the pattern.

    Hi,
    Thanks for your posting.
    This development mode can exclude some errors, such as the file upload complete at the same time... from my experience, this is a good choice to achieve the goal.
    Best Regards,
    Jambor  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ICal Notifications (problems)

    I'm having a heck of an introduction into the world if notifications, and I can honestly say, I'm frustrated, so I apologize if this comes off sounding short.
    I received an important notification from a business partner of mine with all of the details of the meeting enclosed in an iCal Invitation attached to an email from them. The attachment seemed fine, the icon displayed inline with the attached message. (using Mail.app). I clicked on it, and was taken to iCal.
    The notification appeared in the notification box in iCal.
    Clicking on the invite, iCal spat back the error: "Someone invited you to an event using an email address that isn’t on your “me” card in Address Book. Find your email address in the following list and add it to your card in Address Book."
    Unfortunately there is no email address listed for me to add to my Me card. I've looked all over the web, and no one seems to have a fix.
    1. Tried recreating card in Address book and re-associating it to me
    2. Tried making a card with JUST the email address the invite was sent to
    3. Searched the web and found a few references on how frustrating it is, no answers
    4. Submitted a bug report to Apple (4/29/07)
    Any help would be most appreciated.

    I have this exact same problem, and I cannot figure out what to do. My "me" address card now includes 3 versions of the e-mail address receiving he invitation:
    [email protected]
    <[email protected]>
    My Name <[email protected]>
    iCal still will not recognize it, and will not accept the invitation.
    What can I do?

  • Extended notifications problem

    Hi experts,
    I am trying to configure extended notifications for around 7 to 8 different taks
    pertaining to different workflows.
    I could successfully do it for 1 task.
    Then after successful testing I did add more filters to the same configuration
    under same subscription and delivery.
    I even created new schedules for the new filters. But unfortunately it is not working.
    I could debug the standard program SWN_SELSEN and found that the particular WAPI call to
    select the delta Work Items from SWWWIHEAD and SWWWIHIST is failing because of some
    timestamp mismatch.
    Can you please provide me some help regarding this ?
    Thanks,
    Deb

    Hi Purvesh,
    You can find the step by step procdure in the following blog.
    How to get Work items @ your Outlook Inbox
    You can find all the definitions and theories in the SAP Help link provided in the same blog.
    I initially followed the above and could successfully do it for 1 task.
    However, I was stuck in achieving the same for multiple task belonging to different workflows.
    Here is how I did it:
    1)  Do the configuration in SWNCONFIG as per the blog and SAP Help
         A)  Create your own delivery schdule
         B)  Create your own subscription using the above delivery schedule
         C)  Create your own filters
         D)  Create your own selection schedule
    2) Then run the report SWN_SELSEN to do the actual selection and delivery based on the schedules    you created.
    The key is creating the filters. Follow the SAP Help link closely and try it. If you face any problems
    the please let me know.
    Please award appropriate points.
    Thanks & Regards
    Deb
    Edited by: debabrata mohanty on Dec 10, 2008 11:26 AM

  • Speaker and notification problem on my iPod touch...?

    Earlier today, I was listening to music on my ipod when it suddenly turned off. This confused me, so I just turned it back on- the only problem is that it didnt work. I pressed the play button, and it showed the song was playing, but it wasnt. I did not have headphones in. After a few minutes of trying, I just tried to turn it up, resulting in the discovery that my volume buttons were not working, and on my music app the music bar didnt show up. Also, after this happened, I realized that when my ipod was locked- I was no longer getting my notifications alerting me. The ipod music works fine with headphones plugged in, and now the volume buttons are working but the only time sound comes out is from the settings volume when I tested it.
    I have already reset my ipod, both ways. I reset it just by pressing the home and power button and then reset it by resetting all settings. I really need help, I don't know what's going on with it.

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so.
    Try the following to rule out a software problem
    - Check also Settings > General > Accessibility > Hearing. Make sure that the sound balance is not set all the way to "R".
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar
    If not under warranty Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                  
    A third-party place like the following will replace the jack for less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the jack yourself
    iPod Touch Repair – iFixit

  • Workflow Notification problem

    Hello,
    I have a problem with WorkFlow Notification.
    When a send a workflow test notification. I reveive the mail, in my inbox. I use Webaccess. The notification server works. But in the body of the mail, i don't have the Acknowledge button, I have only &MAILTO....
    I have three tiers for OCS 10.1.2.3 and the OID is separate of the Store database. I have run the Worflow Assistant configuration on my middeltier, and I have change the password on OID for the user owf_mgr to be the seem that in the store database.
    I have a single box installation and is work proprely...
    Can I help me ?
    Message was edited by:
    user473198
    The middle tier has been Migrate to a v2 installe (9i) to a 10.1.2.0 ... and the schema of OWF_MGR cannot be removed... it's the problem ?

    Hello Deepika,
    I don't know, how to integrate the
    <a href="http://...">URL-description</a>
    into the notification, but when using plain text, most of the email clients suppress the line-breaks when the URL is fit in-between of < and >
    <http://www.long-url-here-with-a-line-break-in-the
    middle-of-nowhere.com>
    Maybe this gives you a quicker help.
    Best wishes,
    Florin

  • Nokia lumia 520 push notification problem with wha...

    I have a Lumia 520, and i find that i do not receive push notifications for my whatsapp messages. I have to open the application before the messages come through. I would like to know how to correct this. I have checked all my settings.

    On a HTC-forum I saw the next solution, and it works also for Nokia Lumia!  That means it is a Microsoft Issue!
    1) Unpin Windows store from start
    2) ERASE Internet Explorer History
    3) ADD new language to the keyboard (Settings-->keyboard-->add keyboards
        (CHOOSE A LANGUAGE THAT REQUIRE DOWNLOAD)
    4) When downloading is finished, it will ask to restart and install
    5) After installation and restart do the following;
         A) UNINSTALL WHATSAPP
         B) REINSTALL WHATSAPP (you can get conversation history back when asked, so no problem)
    After this the push function works, but there is still a delay up to 10 minutes! So when you test, be patient.
    NO BETTER PRESSURE MEDIUM THAN ANTI ADVERTISING SO AFTER THIS EXPEDITION PLEASE CHANGE YOUR STATUS TEXT TO:
    USING WINDOWS; THAT MEANS DELAY UP TO 10 MINUTES
    When all Window Phone users display that message, Microsoft has to come with a final solution! 
    Please spread the word

  • Community boards notification problem.

    Didn't quite know where to post this, hope here is okay!
    Although I have all the various options for notifications by email selected in the board preferences, I am not getting any sent through, the email address is correct. Any one else having this problem and/or know how to rectify the problem?
    Cheers.

    Thank you, Andrew.
    I have reported the matter to the hosts.   As you will understand, they operate in their own way and we cannot guarantee they will reply.   But my experience is they are very helpful and usually resolve matters like this.

  • Web Expense Notification problem in 11.5.7

    Hi all,
    When we create an Internet Expense with 40 lines the notification does not reach the manager for approval but it can be approved from Workflow Administrator responsibility.
    The problem does not occur for Expenses upto 30 lines.
    We are doing this on 11.5.7.
    Your valuable suggestions are appreciated.
    Regards,
    Avi

    This may seem a bit silly but could you install a 10g/11g database somewhere and then create a plsql package/function on the new rdbms to call the webservice? Then access the function via a dblink? I haven't done it with webservices but we do access plsql programs over dblinks all the time (we usually do keep them at the same rdbms version though).
    Edited by: mcharchu on Jan 8, 2009 8:56 AM

  • LMS 3.2 DFM email notification problem

    Hi,
    I got a problem in a newly installed LMS 3.2 with the DFM email notification.
    I can see the alerts appering on Alerts&Activities, but DFM would not send any emails.
    I can get emails from other moduls of LMS. CS sends me emails from successfully backups.
    The SNMP Server works fine. The settings are ok.
    I already reinstalled DFM.
    I have seen a thread exists on supportforum.cisco.com with the same problem.
    (https://supportforums.cisco.com/message/3033101#3033101)
    Maybe anyone have the answer to this problem.
    Thanks,
    C8-Netzwerk

    This looks like an issue I am currently tracking.  I have written a patch which should correct this.  You can get the patch by opening a TAC service request, and having your engineer contact me directly.
    Please support CSC Helps Haiti
    https://supportforums.cisco.com/docs/DOC-8895
    https://supportforums.cisco.com

Maybe you are looking for

  • Time Zone Problem

    Dear ABAPers, I have got one requirement in my project. The requirement is like this. The User(USER1) will create the sales order for the company Code 1000(Austrlia) and the same user will create the Sales order for the company code2000(United states

  • Itunes not supported on this architecture?

    I tried to open Itunes after running an update and an error message says: "You can't open the application Itunes because it is not supported on this architecture." How do I fix this? Could someone please help me? I didn't even know computers had arch

  • Authorization checking in BAPI

    Hi, I put in authorization checking for the 'Material group 1' field of a SD document. With this, only authorized users are allowed to change this field while other users without the authorization will not be allowed to change it. When i tested the a

  • CHANGING DEFAULT PORT

    I purchase the app Splashtop Remote Desktop . It says to use  2 default port #'s to get sound on my IPad. How do I go about doing this. I have Windows XP.

  • 975X Platinum - All USB ports suddenly dead

    Hello all, Something similar happened to my previous motherboard (I wrote about it here). This time though, it happened when I plugged in my scanner to one of the front panel USB ports. Windows displayed a USB power outage error kind of thing and all