Aq message grouping

Hi,
I have 10.1.0.2.0 EE. I am trying to test transactional message grouping. Below is my code
-- create queueus
begin
dbms_aqadm.create_queue_table(queue_table => 'testtranqtable',
queue_payload_type => 'message_typ',
compatible => '8.1',
message_grouping => dbms_aqadm.TRANSACTIONAL);
dbms_aqadm.create_queue(queue_name => 'testtranq',
queue_table => 'testtranqtable');
dbms_aqadm.start_queue('testtranq');
end;
-- code to dequeue messages
declare
local_msgid RAW(16);
local_dequeueOptions DBMS_AQ.DEQUEUE_OPTIONS_T;
local_msgOptions DBMS_AQ.MESSAGE_PROPERTIES_T;
local_msg message_typ;
local_noMoreMsgs BOOLEAN := TRUE;
NO_MESSAGES EXCEPTION;
END_OF_GROUP EXCEPTION;
PRAGMA EXCEPTION_INIT (NO_MESSAGES, -25228);
PRAGMA EXCEPTION_INIT (END_OF_GROUP,-25235);
lc pls_integer := 0;
begin
local_dequeueOptions.WAIT := 1;
local_dequeueOptions.NAVIGATION := DBMS_AQ.FIRST_MESSAGE;
WHILE (local_noMoreMsgs) LOOP
BEGIN
LOOP
BEGIN
dbms_aq.dequeue(queue_name => 'testtranq',
dequeue_options => local_dequeueOptions,
message_properties => local_msgOptions,
payload => local_msg,
msgid => local_msgid);
dbms_output.put_line('subj:' || local_msg.subject || ',text:' || local_msg.text);
local_dequeue_Options.NAVIGATION := DBMS_AQ.NEXT_MESSAGE;
EXCEPTION
WHEN END_OF_GROUP THEN
dbms_output.put_line('end of group');
commit;
local_dequeueOptions.NAVIGATION := DBMS_AQ.NEXT_TRANSACTION;
END;
END LOOP;
EXCEPTION
WHEN NO_MESSAGES THEN
dbms_output.put_line('no more messages');
local_noMoreMsgs := FALSE;
END;
END LOOP;
end;
when I dequeue messages END_OF_GROUP exception is never raised. I do get messages only after I commit enqueue. What am I missing?
thanks for the help

Hi!
I had the same problem. Check if you are enqueing with
enqueue_options.visibility := DBMS_AQ.IMMEDIATE.
It has to be DBMS_AQ.ON_COMMIT.
/Lasse

Similar Messages

  • How do I set up a text message group on iphone

    How do I set up a text message group on iphone

    Go into messages, then click the icon at the top right to create a new message, then click the plus sign to add the contacts you want to text.
    Is that what your asking?

  • XI messages groups and messages segmented

    Hi experts !!
    I have a scenario between SAP XI and IBM MQ 6.0.
    I need to send message groups and segmented through JMS Adapter.
    I need also receive message groups and segmented.
    In summarize, I need to send a only one logical message in several physical messages. For this case must be setted JMSXGroupId and JMSXGroupSeq.
    can this be implemented in XI JMS Adapter ?
    How this must be configured to receive messages from MQ ?
    How messages must be cutted to send to MQ in several messages ?
    Thanks.

    For collecting the message parts from JMS you have to use BPM.
    Regards
    Stefan
    Hi, sorry for replying to a really old thread...
    But is this still the case, that you need BPM to handle JMSXGroupId and JMSXGroupSeq to rebuild a grouped message, when reading from MQ queue?
    We are currently on version 7.11, and are upgrading to 7.4 this summer (without BPM-capabilities, no PO)
    Is there any other way to handle this today?
    regards
    Magnus

  • Creating message groups with Centro?

    Can I create a message group with my Centro?  If I have 6 people that I want to send a message to, instead of picking all 6 peopel every time, I just want to create a group which includes all 6 people, and select that and send the message. is that possible? I havent been able to figure it out.
    Thanks.
    Post relates to: Centro (Sprint)

    Yes, you're right, it'll not harm the client.
    #Mobility group is useful for smooth Roaming, Anchoring and AP fallback. WLC reboot is not required to add/configure Mobility.
    #If you've similar wlan configured on all these 3 WLCs and clients were trying to do roaming, it probably doing failover roaming with dhcp delays. Since it is already harming those client, feel free to configure Mobility.
    #If the APs on those 4402s shares the RF then be sure to configure similar RF groups to avoid each APs idetifying themselves as Rogues.

  • Je n'arrive plus à envoyer des messages groupés en passant par "fenêtre d'adresses"

    Bonjour,
    Je n'arrive plus à envoyer des messages groupés en passant par "fenêtre d'adresses". La liste des groupes en là, mais lorsque je la déplace dans la case des destinataires, elle ne le prend pas.
    Comment y remédier?
    Merci
    Jean-Jacques

    Voici, en Anglais, un Blog qui montre la suite des opérations: http://blogs.adobe.com/richardcurtis/?p=1258
    Quel programme vous donne ce message d'erreur?
    avez-vous essayé le creative suite cleaner tool? http://www.adobe.com/fr/support/contact/cscleanertool.html

  • Group Messaging / Group MMS

    How can I enable sending Group messaging / group MMS to different phones ( iPhones and non-iPhones ) using factory unlocked iPhone 4s and T-mobile? I can send group messages/group MMS when ALL my recipients are using iPhones only. When I send to a group with different phones, I can send to multiple recipients but delivered individually; which means that replies are individual rather than to the entire group.

    I would like to point out the fact that I mentioned my phone is iPhone 4, iOS 7.1.2
    I don't care if it is a known defect in iOS 8, my phone is not iOS 8 and can not be updated past 7.1.2
    Your solution will not work because I can't see the group message in the first place, deleting it would not be possible.
    Also, I can not wait for the update on a phone that can no longer update.

  • Anchor, Message & Message Group Components - Threadinar8

    Hi All,
    This is the eighth in the Threadinar series. See the Components Threadinar Index at http://forum.sun.com/jive/thread.jspa?threadID=103424 for the complete list to date.
    This Threadinar will discuss the last 3 remaining components in the "Basic Components" section of the Creator Component Catalog.
    We will start discussion of the "Components Palette: Layout Section" from the next Threadinar.
    The components we will focus on today are
    "Anchor", "Message" and "Message Group" Components.
    Let us begin our discussion with the "Anchor" Component.
    [b]Anchor Component
    You can drag an Anchor Component from the Palette's Basic category to the Visual Designer to create a named anchor in your page. The HTML equivalent of this component is <a name=targetname></a>. The name of the anchor component, set in its id property, is the target name.
    For example, you drop an anchor at the bottom of a page and see that its name is anchor1. You then add a hyperlink to the top of the page and set the hyperlink's url property to #anchor1 to link it to the anchor.
    Drop the anchor on the page at the location to which you want the page to scroll when the user clicks a link to the anchor. You can also drag the anchor to another location on the page.
    If you want to link to an anchor in another page, use a hyperlink component and set its url property by using the property editor to navigate to the anchor. For example, if the page is named Page2.jsp and the anchor on that page is named anchor1, the resulting value of the hyperlink's url property is faces/Page2.jsp#anchor1.
    [b]Message Component
    What Is a Message Component?
    A message component is the primary way to notify users of errors during page processing. The IDE has two message components on the Basic section of the Components Palette:
    * Message. Displays a message associated with a specific component. A component that is likely to produce an error message, such as an input component with an associated validator or converter, needs to have a Message component.
    How Do I Use It?
    You can drag the Message component inline message icon from the Palette's Basic category to the Visual Designer to create a message related to a single component. The two message components, Message and Message Group, display error messages for component rendering and validation. Message displays error messages for a specific component.
    * Dragging a message component from the palette to the page results in a message item with the summary property set to true and the detail property set to false.
    * You can press Ctrl-Shift and drag the Message component to another component to link the for property to the other component and display messages for that component.
    * Messages are automatically shown as the result of a validation or other component related error.
    You can send your own error text to a Message component by calling the corresponding Java object's info, error, fatal, or warn method. The component displays an appropriate icon for the type of method called.
    You can also write your own input validation methods, which can write text to the Message component by throwing ValidatorException(new FacesMessage (String)). If you do not want to throw an exception, you can have the validation method call the Java object's info, error, fatal, or warn method instead.
    Important Properties Of A Message Component
         Appearance Related
         * showDetail. Type: boolean
         Indicates if the detail portion of the message should be displayed. This property is false (unselected) by default.
         * showSummary. Type: boolean
         Indicates if the summary portion of the message should be displayed. This property is true (selected) by default.
         Behavior
         * for. Type: String
         The component for which the message component displays messages. To set this property, you can hold down the Ctrl-Shift keys and drag the message component to the component for which it is to display messages. Alternatively, you can click the drop-down list next to the property and choose a component.
    [b]Message Group Component
    What Is a Message Group Component?
    Message Group. Displays page-level or global messages. You can use a Message Group component to assist with debugging as you are developing the page.
    How Do I Use It?
    You can drag the Message Group component from the Palette's Basic category to the Visual Designer to create a list of global messages for a page, such as system runtime errors, or a list of messages related to components. To show individual component errors, such as validation and conversion errors, deselect the showGlobalOnly property in the Message Group Properties Window.
    The two message components, Message Group and Message, display error messages concerning component rendering and validation.
    * This component, Message Group, reports either global errors only or all errors on all components on the page, including errors with the page itself. You can put a Message Group component on your page to assist with debugging as you are developing the page.
    * The Message component reports errors for a single component. Use Message if you want to provide your users with messages related to a specific component, like validation errors when they enter invalid data in a field. Message Group also reports validation errors, but it reports them for all components, not just one.
    You can send your own error text to a Message Group component by calling the corresponding Java object's info, error, fatal, or warn method. The component displays an appropriate icon for the type of method called.
    You can also write your own input validation methods, which can write text to the Message Group component by throwing ValidatorException(new FacesMessage (String)). If you do not want to throw an exception, you can have the validation method call the Java object's info, error, fatal, or warn method instead.
    Important Properties Of A Message Component
         Appearance
         * showDetail. Type: boolean
         Indicates if the detail portion of the message should be displayed. This property is false (unselected) by default.
         * showSummary. Type: boolean
         Indicates if the summary portion of the message should be displayed. This property is true (selected) by default.
         Behavior
         * showGlobalOnly. Type: boolean
         Indicates if global messages, messages not associated with any component, are the only messages to be displayed. By default, this property is false (not selected), and all messages from all components on the page are displayed.
         * tooltip. Type: String
         Information about the component that is readable by a screen reader and can be displayed as a tool tip.
    [b]For more details on Using these Components
    Take a look at this tutorial :-
    "Using Message Components"
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/message_components.html     
    This Tech article could also be Helpful :-
    Handling Error Messages
    http://developers.sun.com/prodtech/javatools/jscreator/reference/bestpractices/2/commonJSP.html#04
    Please share your comments, experiences, additional information, questions, feedback, etc. on these components.

    To write both a summary message and a detail message to the Message Group component, use code like the following statement. The first argument is the summary message and the second argument is the detail message.
    FacesContext.getCurrentInstance().addMessage(
    null, new FacesMessage("Summary Message", "Detail Message"));I try to add a Message Group component to every page. This helps me figure out problems, especially when it appears that an action component (Button, Radio Button, Hyperlink, and so forth) is not working.

  • Yosemite Server 4 Messages Group Auto Buddy Not Working

    I know I have had issues with the group auto buddy in the past versions of server, and I am setting up a new Yosemite Server 4 from scratch with OD. I have checked the box in a group to make members buddies automatically, and it isn't working.
    I went into console and received this message:
    12/14/14 2:29:31.726 PM jabber_autobuddy[2089]: Error: (sqlite3_prepare_v2): no such table: autobuddy-guids - -[JABMakeGroupBuddiesByGuidAction doDBAction]:43
    Anyone have idea? Isn't this supposed to work off the shelf without command line configuration?

    Thanks Linc,
    I did a few searches but that never came up.
    Thanks Again
    Gian

  • Message Grouping Split.

    I have a few contacts on my phone (N95) that have multiple numbers per contact. When I sync my messages to OVI they used to all fit together fine regardless of which number sent / received the message on the contact but now I find that messages to each number per contact get's it's own grouping.
    I find this rather annoying as if I wanted to split i could just create a second contact for the second number.
    Is this splitting of contact grouped messages intentional?

    anyone?

  • Pre Text Message Groups

    Is it possible to create groups for sending text messages on the Palm Pre?  If so, I would like to know how becuase I can't get it figured out.
    Thank You in advance.
    Post relates to: Pre p100eww (Sprint)

    I would like to know how to do the same thing.  This is pretty frustrating because this was one feature I liked on all my previous Treo phones.

  • How do you create a messages group

    How do you set up a group of cell phone #'s to send a group message through messages?

    In the message App, create a new message and add all the recipients you want, then type your message and send it, it should be sent to any in the recipients list...

  • How do you create a message group

    What is easiest way to create a contact group directly on my Iphone 4 for mass text messaging?

    You can create a group on your computer and sync it to your iPhone, but you will not be able to use it for mass text messaging. You need an application for that. I have created a free one called Easy Group
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • Strange vacation message/group email problem

    I have setup a vacation message for [email protected] to forward mail to [email protected] which is then filtered into a folder, all works fine.
    If a message is sent to user and cc'd to user2 the message only appears in the folder setup for user2, not in user's inbox. This is also true if an internal group mail is sent and both user and user2 are included.
    User2 was receiving group mails and message/cc combinations before the vacation rule was setup. Emailing user2 direct is also fine.
    Anyone have any ideas?

    I have setup a vacation message for [email protected] to forward mail to [email protected] which is then filtered into a folder, all works fine.
    If a message is sent to user and cc'd to user2 the message only appears in the folder setup for user2, not in user's inbox. This is also true if an internal group mail is sent and both user and user2 are included.
    User2 was receiving group mails and message/cc combinations before the vacation rule was setup. Emailing user2 direct is also fine.
    Anyone have any ideas?

  • Createing text message groups

    HOw do I create contact groups to send texts to the group?

    You can create groups on your computer and sync them on your iPhone. This is useful when you have many contacts to order them. But you cannot select a group as a text recipient. You need an application for that. Easy Group is a free application I have developped. You can download it on app store:
    http://itunes.apple.com/fr/app/easy-group/id461469079?mt=8
    Rémi
    Note: I may receive some form of compensation, financial or otherwise,from my recommendation or link.

  • Not receiving group messages on iPhone 6 plus after updating to iOS 8.2

    After updating to iOS 8.2 I suddenly stopped receiving group messages on a thread of which I was previously a part. Apparently they can see my texts, but I cannot see their replies. Tried rebooting. Switching messages, group messages, face time, and phone itself off and on. No luck. Single messages have been sent and received. Seems contained to group.
    IPhone 6+, 124 g. ATT

    spent some time with Apple support today. Go into settings and sign off of your Apple ID in iMessages and FaceTime. Power off phone and restart. Log back in using Apple id in iMessages and FaceTime. seemed to work for me for Now. Hope it helps.

Maybe you are looking for

  • Best practice for linking fields from multiple entity objects

    I am currently transitioning from PHP to ADF. I'm looking for the best practice for linking data from multiple entity objects. Example: EO 'REQUESTS' has fields: req_id, name, dt, his_stat_id, her_stat_id EO 'STATUSES' has fields: stat_id, short_txt_

  • Purge a queue with JAVA API

    Hi, Is it possible to purge a queue with the JAVA API ? I have not found anything ... I am also trying to browse archived messages (state 2), the "browseQueue" method does only browse the ready messages (state 0). Is it possible to browse archived me

  • Scan a range of addresses

    Is there an easy way to use a router to ping or scan a subnet to see what IP's are currently active.

  • Not all V.I.s in Logic will play??

    My Midi Keyboard is an 88 key M-Audio Key Controller, and I'm using a MOTU 8 pre interface. I can get most of the virtual instruments to play through my MIDI controller, but certain ones - specificaly the organs just won't play. Anybody have any clue

  • JDBC virgin needs help.

    Hi, I am a 2nd year university student doing JDBC for the first time. I think my problem lies in the ODBC data sources rather than the code since the code works on the machine in university (NT) but not on my home PC (XP). When I run the code I get n