Simultaneous Access to the same queue

Could some one please clarify how does the AQ mechanism handle requests in the following scenario:
Two applications are both talking to the same Queue using the same consumer for dequeuing messages. The dequeuing happens under a main transaction and the dequeue mode is set to REMOVE. The messages is completely removed from the queue when the transaction is committed at the end of processing the message. Also, the dequeue API is through stored procedures.
I would like to know if, while one application has dequeued a message and is still processing it as a part of the transaction, what happens when the second application tries to access the same queue and try to dequeue a message. Would it get the same message that the first application is still processing and is not yet been completely dequeued.
Let me know.
Thanks,
-NS.

--- create queue type
CREATE TYPE mesaj_t AS OBJECT
message varchar2(100)
--- create queue table , queue and start queue
BEGIN
dbms_aqadm.create_queue_table(queue_table => 'mesaj_qt',
queue_payload_type => 'mesaj_t',
sort_list => 'PRIORITY,ENQ_TIME',
multiple_consumers => FALSE);
dbms_aqadm.create_queue(queue_name => 'mesaj_q',
queue_table => 'mesaj_qt');
dbms_aqadm.start_queue(queue_name => 'mesaj_q');
END;
--enqueue message
DECLARE
r_enqueue_options dbms_aq.enqueue_options_t;
r_message_properties dbms_aq.message_properties_t;
v_message_handle RAW(16);
BEGIN
dbms_aq.enqueue(queue_name => 'mesaj_Q',
enqueue_options => r_enqueue_options,
message_properties => r_message_properties,
payload => mesaj_t(message => 'selam'),
msgid => v_message_handle);
END;
--dequeue message from session 1 and dont comit
DECLARE
r_dequeue_options dbms_aq.dequeue_options_t;
r_message_properties dbms_aq.message_properties_t;
v_message_handle RAW(16);
l_corr_identifier VARCHAR2(128);
l_recipient_list dbms_aq.aq$_recipient_list_t;
v_payload_handle mesaj_t;
BEGIN
dbms_aq.dequeue(queue_name => 'mesaj_Q',
dequeue_options => r_dequeue_options,
message_properties => r_message_properties,
payload => v_payload_handle,
msgid => v_message_handle);
END;
--and try to dequeue from second session same message with using msg_id property
DECLARE
r_dequeue_options dbms_aq.dequeue_options_t;
r_message_properties dbms_aq.message_properties_t;
v_message_handle RAW(16);
l_corr_identifier VARCHAR2(128);
l_recipient_list dbms_aq.aq$_recipient_list_t;
v_payload_handle mesaj_t;
BEGIN
r_dequeue_options.wait := DBMS_AQ.NO_WAIT; -- if i change to DBMS_AQ.FOREVER then it will wait for new message for dequeuing, with no_wait you will get an exception immediately if there is no message for you in queue
r_dequeue_options.msgid := 'BBAB7BA403CD4B259A86B55783862912'; --replace this with your msg_id of your enqueued message
dbms_aq.dequeue(queue_name => 'mesaj_Q',
dequeue_options => r_dequeue_options,
message_properties => r_message_properties,
payload => v_payload_handle,
msgid => v_message_handle);
END;
conclusion :
with remove mode other session can not dequeue message when first session processing message and not committed yet

Similar Messages

  • How many instances can access the same queue at the same time ?

    Hi,
    In my application I am cloning a VI n times and these n instances are accessing the same queue. Is there any restriction on this 'n' for successful operation.
    Regards,
    Runjhun

    Runjhun,
    If the accesses are to enqueue data, then no limit (beyond the number of VIs which will fit in memory).  If you are dequeuing, then n =1. Dequeue removes data from the queue and you would have no way to know which of the n VIs got which element from the queue.  Read the deteiled help for the queue functions.  If you need to read the same data in multiple places, you need some other mechanism.
    Please tell us more about your application.  What kind of data and how much data are in the queue? How fast is the data being generated? How long must the data persist (be availabel after it is generated)? Do you need to guarantee that all the VIs get the data?
    Lynn

  • HT4914 My wife and I both have iPhones and iPads. Can we both have access to the same iTunes Match library or do we have to have separate subscriptions?  Our devices are synced to the same computer and we currently download titles from the same library.

    My wife and I both have iPhones and iPads. Can we both have access to the same iTunes Match library or do we have to have separate subscriptions?  Our devices are synced to the same computer and we currently download titles from the same library.  We both use separate apple id's on our devices.

    You need to reconfigure your phone for use with your Apple ID. I suggest you restore yours as new then reconfigure it with your information and Apple ID. Be sure to disable Find My Phone, if it's enabled, before proceeding.
    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • How do I get all the accounts on my mac to have access to the same itunes library?

    How do I get all the accounts on my mac to have access to the same itunes library?

    Move the entire iTunes folder to: Macintosh HD > Users > Shared.
    Hold the option key when launching iTunes (for each user).
    Click Choose Library.
    Navigate to Macintosh HD > Users > Shared > iTunes.
    Open the iTunes Library.itl file.

  • Block simultaneous logins by the same user on wired 802.1x

    Is it possible to block simultaneous logins by the same user, meaning is userX login on port gi1/0/1 and after that the same user (UserX) is trying to login on a different port, it will be blocked.

    Sorry I did not read your original question correctly. So at the moment, you can only restrict the number of concurrent connections for users that are only going through the web authentication process. If you are using EAP-TLS, PEAP, etc, then there is no method to restrict those users from performing multiple authentications on the network.
    Thank you for rating helpful posts!

  • Process in the Same Queue ID

    Hi experts,
    I am having some problem whereby several different XML Messages (Processes) has been assigned in the same queue. This makes the XML message need to wait until the preceding message to be completed.
    [IMG]http://img525.imageshack.us/img525/2220/samequeueidnc1.jpg[/IMG]
    Given my system performance not affected, may I know any way I can increase my Queue ID range so that the chances for the messages 'stuck' in same Queue ID minimized? Or is there any advice?
    Thanks so much.
    Cheers,
    Isaac.

    Hi Isaac
    I dont think there is a way that you can increase the queue ID range.
    In XI you can even use QOS as EOIO that will help not to stuck XML messages while processing.
    But yes you can register, deregister queue using the Qin Sceheduler. This can help you seperating the XML messages assigned to same queue.
    Refer the Help link to understand how to use Qin for this task. This link is for inbound queue administration.
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/df5f3c8dde1c67e10000000a114084/content.htm
    Thanks
    Gaurav

  • I have two accounts to my computer as administrator. How can I make it so both accounts have access to the same folders and programs? grateful for answers. Martin

    I have two accounts to my computer as administrator. How can I make it so both accounts have access to the same folders and programs? grateful for answers. Martin

    Obvious question: If you want to have access to the same folders andapplications, why have two accounts? The point of different accounts is that you don't have access to the other person's data.
    Any application in the HD/Applications folder is available in all accounts.
    Sharing data between accounts depends on the material being shared. So, if you can provide more details we maybe able to help you better.
    Regards
    TD

  • HT1495 can different itune accounts have access to the same apps on one pc

    Is it possible to have differnt device with different apple id connect ot the same computer to have access to the same apps?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622

  • How is it best to keep files synced between iMac and Macbook?  I work from home on my iMac and then out in meetings on my Macbook and need to have access to the same files on both.

    How is it best to keep files synced between iMac and Macbook?  I work from home on my iMac and then out in meetings on my Macbook and need to have access to the same files on both.  The folders are using Microsoft programmes as this is compatiable with 90% of my colleagues, therefore I can't use the Icloud service.

    No, the camera connection kit only supports the copying of photos and videos to the Photos app, it doesn't support copying content off the iPad. For your second camera instead of the SD reader part of the kit, does the iPad to camera cable not work with it for direct transfer to the iPad ?
    For Lightroom and Nikon software again no - you can only install apps that are available in the iTunes app store on your computer and the App Store app on the iPad, 'normal' PC and Mac (OS X) software are not compatible with the iPad (iOS). There are some apps that perform fairly basic editing functions that are available in the store, but nothing as sophisticated as, for example, Lightroom.

  • Simultaneous httpservice in the same component

    Dear Flexer,
    I created an Air application.
    On loading my component, I'd to make simultaneous request to my database to load some data to my component.
    My component is a form with several comobobox and and text field.
    But to do that I have two major problem.
    - Sometimes, my form (my component) is loaded but there no information  in my text field, perhaps request is not finished? but how to verify  that and how to solve.
    - Other question, as requests with http service is for different table,  one to load sudent, other to load note, other to load teaching , is it  possible to do this request in the same php file and to get all thos  informations with the same E4X file.
    Thanks for help
    [Code]
    <?xml version="1.0" encoding="utf-8"?>
    <windowSkin:NativeTitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      xmlns:windowSkin="fr.intersystemes.ui.windowSkin.*"
      xmlns:skins="fr.intersystemes.ui.skins.*"
      xmlns:tabBarClasses="flexlib.controls.tabBarClasses.*"
      minWidth="800" minHeight="800" borderVisible="false"
      creationComplete="onLoad(event)"
      currentState="tb1"
      dropShadowVisible="false"
      skinClass="fr.intersystemes.ui.windowSkin.NativeTitleWinSkin">
    <windowSkin:states>
    <s:State name="tb1"/>
    <s:State name="tb2"/>
    <s:State name="tb3"/>
    <s:State name="tb4"/>
    <s:State name="tb5"/>
    <s:State name="tb6"/>
    </windowSkin:states>
    <fx:Declarations>
    <!-- Placer ici les éléments non visuels (services et objets de valeur, par exemple). -->
    <s:HTTPService id="phpPatientDetail"
       showBusyCursor="true"
       useProxy="false"
       resultFormat="e4x"
       method="POST"
       result="detailPatient(event)"
       fault="trace(this + event.fault.toString());">
    </s:HTTPService>
    <s:HTTPService id="phpLoadTypeDossier"
       showBusyCursor="true"
       useProxy="false"
       resultFormat="e4x"
       method="POST"
       result="allDossier(event)"
       fault="trace(this + event.fault.toString());">
    </s:HTTPService>
    <s:RadioButtonGroup id="rbsex"/>
    </fx:Declarations>
    <fx:Metadata>
    [Event(name="myEventClose", type="fr.intersystemes.ui.windowSkin")]
    </fx:Metadata>
    <fx:Script>
    <![CDATA[
    import fr.intersystemes.VO.PatientVO;
    import fr.intersystemes.config.urlManager;
    import fr.intersystemes.util.DateUtility;
    import fr.intersystemes.util.FileSerializer;
    import fr.intersystemes.util.UserPrefs;
    import mx.collections.ArrayCollection;
    import mx.events.FlexEvent;
    import mx.events.IndexChangedEvent;
    import mx.events.ItemClickEvent;
    import mx.rpc.events.ResultEvent;
    import spark.events.IndexChangeEvent;
    [Bindable]
    public var monIdPatient:String;
    private var pg:UserPrefs;
    [Bindable]
    public var PAT_TB_ARRAY:ArrayCollection = new ArrayCollection (
    [{label:"Personnelles"},
    {label:"Assuré & Sécu. Soc"},
    {label:"Compléments perso"},
    {label:"Autres adresses"},
    {label:"Cursus"},
    {label:"Archives"}]
    [Bindable]
    private var DP_PAT_CIVIL:ArrayCollection = new ArrayCollection (
    [{label:"Monsieur"},
    {label:"Madame"},
    {label:"Mademoiselle"},
    {label:"Le Jeune"}]
    [Bindable]
    private var DP_PAT_ADRDEF:ArrayCollection = new ArrayCollection (
    [{label:"Monsieur"},
    {label:"Madame"},
    {label:"Mademoiselle"},
    {label:"Le Jeune"}
    [Bindable]
    private var DP_PAT_DOS1:ArrayCollection = new ArrayCollection (
    [{label:"N° Etudiant"},
    {label:"N° INEE"},
    {label:"Liberer"}
    [Bindable]
    private var DP_PAT_DOS2:ArrayCollection = new ArrayCollection (
    [{label:"N° Etudiant"},
    {label:"N° INEE"},
    {label:"Liberer"}
    [Bindable]
    private var DP_PAT_TEL:ArrayCollection = new ArrayCollection (
    [{label:"Maison"},
    {label:"Bureau"},
    {label:"Pére"},
    {label:"Mére"}]
    protected function onLoad(event:FlexEvent):void
    this.pg = FileSerializer.readObjectFromFile("prefSaisiePat.up") as UserPrefs;
    var urlPatient:urlManager = new urlManager();
    phpPatientDetail.url=urlPatient.urlService() + "loadStudentById.php";
    var paramsPatient:Object = new Object();
    paramsPatient.idPatient = monIdPatient;
    phpPatientDetail.send(paramsPatient);
    phpLoadTypeDossier.send();
    private function onMyEventClose(e:Event):void
    private function allDossier(event:ResultEvent)
    private var objectPatient:PatientVO;
    private function detailPatient(event:ResultEvent):void
    trace(this + event.result.toString());
    var resultXml:XML = event.result as XML;
    var aNode:XML;
    var list:Array = new Array();
    // we use resultXml.children() (and not resultXml..customer)
    var dateConv : DateUtility = new DateUtility();
    trace ("result" + resultXml.children().length());
    for each (aNode in resultXml.children())
    objectPatient = new PatientVO();
    objectPatient.paIndex = Number(aNode.@id);
    objectPatient.paNomP = aNode.@np ;
    objectPatient.paPrenom = aNode.@pr ;
    objectPatient.paCodePostal = aNode.@cp;
    objectPatient.paDossier1 = aNode.@d1;
    objectPatient.paDossier2 = aNode.@d2;
    objectPatient.paNaissance = dateConv.dateStringToObject(aNode.@dn);
    objectPatient.paNumTel1 = aNode.@tel;
    lNom.text = objectPatient.paNomP;
    lPrenom.text = objectPatient.paPrenom;
    //lAge.text = dateConv.calculAgeAn(objectPatient.paNaissance) as String;
    lAge.text = " - " + dateConv.calculAgeAn(objectPatient.paNaissance) + " ans et " + dateConv.calculAgeMois(objectPatient.paNaissance) + " mois";
    lNaissance.text = "Né(e) le " + dateConv.dateToStringFR(objectPatient.paNaissance);
    this.title = objectPatient.paNomP + " "+ objectPatient.paPrenom;
    fdNom.text = objectPatient.paNomP;
    dfNaissance.text = dateConv.dateToStringFR(objectPatient.paNaissance);
    private function reloadPatient():void{
    private function tbClickEvt(evt:IndexChangeEvent):void {
    // Access target TabBar control.
    //var targetComp:TabBar = TabBar(evt.currentTarget);
    switch(evt.target)
    case 0:
    currentState="tb1";
    break;
    case 1:
    currentState="tb2";
    break;
    case 2:
    currentState="tb3";
    break;
    case 3:
    currentState="tb4";
    break;
    case 4:
    currentState="tb5";
    break;
    case 5:
    currentState="tb6";
    break;
    default:
    currentState="tb1";
    break;
    ]]>
    </fx:Script>
    <s:Group width="100%" height="100%">
    <s:layout>
    <s:BasicLayout/>
    </s:layout>
    <s:Image x="0" y="0" width="53" height="53" click="reloadPatient()"/>
    <s:VGroup x="100" y="8" width="100%" gap="5" verticalAlign="top"> <!-- Groupe central-->
    <s:HGroup> <!-- Nom prenom-->
    <s:Label text="Nom" id="lNom" fontWeight="bold"/>
    <s:Label text="Prénom" id="lPrenom" fontWeight="bold"/>
    </s:HGroup>
    <s:HGroup width="100%"> <!-- Naissance-->
    <s:Label text="Naissance" id="lNaissance" />
    <s:Label text=" / Age" id="lAge"/>
    </s:HGroup>
    </s:VGroup >
    <s:VGroup x="730" y="0" horizontalAlign="right" verticalAlign="top" paddingLeft="5"> <!-- Modif-->
    <s:Label text="Crea" id="lCrea"/>
    <s:Label text="Modif" id="lModif"/>
    </s:VGroup>
    <!-- Partie avec onglet-->
    <s:ButtonBar x="0" y="74" dataProvider="{PAT_TB_ARRAY}" change="tbClickEvt(event);"/>
    <s:Form x="0" y="94" id="foPerso" width="100%" height="100%" includeInLayout="true" includeIn="tb1">
    <s:layout>
    <s:FormLayout gap="3" paddingLeft="0"/>
    </s:layout>
    <s:HGroup width="100%" gap="3" horizontalAlign="left" resizeMode="noScale"
      verticalAlign="baseline" >
    <s:DropDownList id="cbQualite" dataProvider="{DP_PAT_CIVIL}"/>
    <s:FormItem label="Nom" >
    <s:TextInput id="fdNom" width="200" focusColor="#D55E5E" focusEnabled="true"
    tabIndex="1" text="Mon nom"/>
    </s:FormItem>
    <s:FormItem  label="Prénom" >
    <s:TextInput id="fdPrenom" width="200" tabIndex="2"/>
    </s:FormItem>
    <s:DropDownList id="cbDossier1" dataProvider="{DP_PAT_DOS1}" width="118" height="22" tabIndex="3"/>
    <s:FormItem label="" >
    <s:TextInput id="fDossier1" width="90" paddingRight="5" tabIndex="4"/>
    </s:FormItem>
    </s:HGroup>
    <s:Group>
    <s:FormItem label="Naissance" tabIndex="5" >
    <mx:DateField id="dfNaissance" width="100" editable="true" formatString="DD/MM/YYYY" yearNavigationEnabled="true"/>
    </s:FormItem>
    <s:RadioButton x="90" y="0" label="Masculin" group="{rbsex}" tabIndex="6"/>
    <s:RadioButton x="170" y="0" label="Féminin" group="{rbsex}" tabIndex="7"/>
    <s:DropDownList id="cbDossier2" x="340" y="0" width="118" height="22"
    dataProvider="{DP_PAT_DOS1}" tabIndex="8"/>
    <s:FormItem x="460" y="0" label="" tabIndex="9">
    <s:TextInput id="fDossier2" width="90" paddingRight="5"/>
    </s:FormItem>
    </s:Group>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Qualité" tabIndex="10">
    <s:DropDownList id="cbQualiteParent" width="130"/>
    </s:FormItem>
    <s:FormItem label="Nom" tabIndex="11">
    <s:TextInput id="tiNomPar" width="200" text="NomParent"/>
    </s:FormItem>
    <s:FormItem label="Prénom" tabIndex="12">
    <s:helpContent>
    <s:VGroup>
    <s:Label text="Prénom du responsable" />
    </s:VGroup>
    </s:helpContent>
    <s:TextInput id="tiPrenomPAr" width="200"/>
    </s:FormItem>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Adresse par défaut"  tabIndex="12" >
    <s:DropDownList id="cbAdrDef" dataProvider="{DP_PAT_ADRDEF}"/>
    </s:FormItem>
    <s:FormItem label="Adresse" tabIndex="13">
    <s:TextInput id="tiAdr1" width="480" text="Adr"/>
    <s:TextInput id="tiAdr2" width="480"/>
    </s:FormItem>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Code Postal" tabIndex="14">
    <s:TextInput id="tiCP" text="CP" width="65"/>
    </s:FormItem>
    <s:FormItem label="Ville" tabIndex="15">
    <s:TextInput id="tiVille" text="Ville" width="250"/>
    </s:FormItem>
    <s:FormItem label="Pays" tabIndex="16">
    <s:TextInput id="tiPays" text="Pays" width="175"/>
    </s:FormItem>
    </s:HGroup >
    <s:HGroup height="20" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline" paddingTop="5">
    <s:Label text="Téléphones"/>
    <s:Spacer width="39" height="20"/>
    <s:Label text="SMS"/>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:DropDownList id="paTabTel1" dataProvider="{DP_PAT_TEL}" tabIndex="17"/>
    <s:CheckBox id="cbSMS1" selected="true" tabIndex="18"/>
    <s:TextInput id="paTel1" width="120" text="Tel1" tabIndex="19"/>
    <s:TextInput id="paRemTel1" width="480" text="RemTel1" tabIndex="20"/>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:DropDownList id="paTabTel2" dataProvider="{DP_PAT_TEL}" tabIndex="21"/>
    <s:CheckBox id="cbSMS2" selected="true" tabIndex="22"/>
    <s:TextInput id="paTel2" width="120" text="Tel2" tabIndex="23"/>
    <s:TextInput id="paRemTel2" width="480" text="RemTel2" tabIndex="24"/>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:DropDownList id="paTabTel3" dataProvider="{DP_PAT_TEL}" tabIndex="25"/>
    <s:CheckBox id="cbSMS3" selected="true" tabIndex="26"/>
    <s:TextInput id="paTel3" width="120" text="Tel3" tabIndex="27"/>
    <s:TextInput id="paRemTel3" width="480" text="RemTel3" tabIndex="28"/>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Télécopie">
    <s:TextInput id="paFax" width="120" text="Fax" tabIndex="29"/>
    </s:FormItem>
    <s:FormItem label="Email">
    <s:TextInput id="paMail" width="333" text="Mail" tabIndex="30"/>
    </s:FormItem>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Prof. des parents">
    <s:TextInput id="paProfPar" width="180" text="Prof Par" tabIndex="31"/>
    </s:FormItem>
    <s:FormItem label="du père">
    <s:TextInput id="paProfPere" width="180" text="du père" tabIndex="32"/>
    </s:FormItem>
    <s:FormItem label="de la mère">
    <s:TextInput id="paProfMere" width="180" text="de la mère" tabIndex="33"/>
    </s:FormItem>
    </s:HGroup>
    <s:Line width="100%" height="3"/>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Rub1" >
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR1" width="220" text="Rub1" tabIndex="34"/>
    <s:CheckBox id="cbRB1" tabIndex="35"/>
    </s:FormItem>
    <s:FormItem label="Rub5">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR5" width="220" text="Rub5" tabIndex="36"/>
    <s:CheckBox id="cbRB5" tabIndex="37"/>
    </s:FormItem>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Rub2">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR2" width="220" text="Rub2" tabIndex="37"/>
    <s:CheckBox id="cbRB2" tabIndex="38"/>
    </s:FormItem>
    <s:FormItem label="Rub6">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR6"  width="220" text="Rub6" tabIndex="39"/>
    <s:CheckBox id="cbRB6" tabIndex="40"/>
    </s:FormItem>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Rub3">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR3"  width="220" text="Rub3" tabIndex="41"/>
    <s:CheckBox id="cbRB3" tabIndex="42"/>
    </s:FormItem>
    <s:FormItem label="Rub7">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR7"  width="220" text="Rub7" tabIndex="43"/>
    <s:CheckBox id="cbRB7" tabIndex="44"/>
    </s:FormItem>
    </s:HGroup>
    <s:HGroup width="100%" horizontalAlign="left" resizeMode="noScale" verticalAlign="baseline">
    <s:FormItem label="Rub4">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR4"  width="220" text="Rub4" tabIndex="45"/>
    <s:CheckBox id="cbRB4" tabIndex="46"/>
    </s:FormItem>
    <s:FormItem label="Rub8">
    <s:layout>
    <s:HorizontalLayout/>
    </s:layout>
    <s:TextInput id="paUserR8"  width="220" text="Rub8" tabIndex="47"/>
    <s:CheckBox id="cbRB8" tabIndex="48"/>
    </s:FormItem>
    </s:HGroup>
    </s:Form>
    </s:Group>
    </windowSkin:NativeTitleWindow>
    [/Code]

    Hello Regina,
    That is what I did, and after your answer I checked everything again and I saw I did all right but when embeding the second ALV view by mistake I embeded the first one again.
    Now it is working!
    Thanks,
    Mauricio

  • Two listener for the same queue - different extraction rule

    Hi all.
    I've the following situation that I'm trying to troubleshoot.
    OSB communicates with another system using JMS Queues.
    One queue for teh request, one for the response.
    Depending on the kind of service, the request is published on the request using a dynamical routing to a Business Service. Depending on the cases, this business service could be:
    1. Just insertion on the queue (no response required)
    2. "Queue Manager" - Insertion and wait for response (response required, JMS Correlation ID as correlation pattern)
    About the extraction from the response queue, when the messages are published from the "Queue Manager", then they must be extracted from the same resource based on the Correlation ID.
    Otherwise, all the messages published in other way (not the "Queue Manager" but the option #1), a different resource should extract them from the response queue (a proxy service with protocol JMS).
    What happens at runtime is that the messages published from the "Queue Manager" are extracted from the other resource.
    How can I solve this?
    Do I need to use two separate queues or there is a way to configure two different listener on the queue, one based on the JMS Correlation ID and the other one that extracts all the other requests?
    Thanks in advance to anyone that will help.

    Unfortunately, I've already evaluate the message selector option, but in the following case:
    BS1 (Request Only)----->JMSQRequest ----->Your Logic ----->JMS Reponse--->JMS Proxy service with Message selector
    The JMS Proxy with message selector should know the value that is the key for the extraction. In this case we have not this infornation since when we run this scenario there is an external system that extracts the request and provides the response... and in the middle we lost the informations (e.g. if we use a key ID, the Proxy with message selector doesn't knwo which value is has to search for in the ID).
    For the moment I think that the best solution could be to have two separate queues, but I'm trying to figure out if there is any other option.

  • Multiple consumers of the same Queue

    In the past my use of JMS queues has been limited to a single message producer and a single consumer. I am now looking at having multiple copies of the same consumer running for load balancing and failover purposes, and this leads me to what I think is a basic question. BTW, we're running OpenMQ 4.4u1.
    I have messages being produced and saved in a single queue.
    I then have a consumer program whose logic is something like this:
    1. Create session with no transaction and CLIENT_ACKNOWLEDGE.
    2. Receive message from queue.
    3. Do some processing with message. Repeat processing attempts multiple times, if needed, until successful.
    4. Once processing is successful, acknowledge message.
    Assume that I am running multiple copies of the consumer in separate JVMs (or on separate servers, for that matter).
    Here are my related questions.
    1. If step 3 takes a long time (e.g., several minutes) can I be sure that only one instance of the consumer will receive the message?
    2. If a consumer is in step 3 and a catastrophic failure occurs (e.g., the JVM or server it is running on crashes) the message will never be acknowledged, but the session will not be shut down in an orderly fashion, either. Will the message that was received but never acknowledged eventually be delivered to another copy of the consumer?
    3. If step three takes a very long time (hours or days, rather than minutes), will the broker misinterpret this as a failure of the consumer and deliver the same message to another one of the consumers?
    Thank you for reading and/or responding to this question.
    Bill

    1. If step 3 takes a long time (e.g., several minutes) can I be sure that only one instance of the consumer will receive the message?A queue message will only be delivered and consumed by 1 consumer.
    2. If a consumer is in step 3 and a catastrophic failure occurs (e.g., the JVM or server it is running on crashes) the message will never be acknowledged, but the session will not be shut down in an orderly fashion, either. Will the message that was received but never acknowledged eventually be delivered to another copy of the consumer?Yes.
    3. If step three takes a very long time (hours or days, rather than minutes), will the broker misinterpret this as a failure of the consumer and deliver the same message to another one of the consumers?No, as long as the consumer's Session or Connection are intact

  • Why can't Primary and Sub accounts be accessed on the same page?

    I have a Primary email account and also a sub account.  I normally use Windows Mail to access my email.  In Windows Mail, I can read emails sent to either account, and can also send from either account.
    The only time I go to the Webmail page is when I am traveling and can't access my home computer.  In Verizon Webmail, I can only check the account I log in with.  It's very annoying and time consuming to log in, check one account, sign out, and then log in to check the other account.  By the way I use the same password for both accounts.  Is there anyway that this can be changed?  It should at least give us the option to add a sub account on the same page as the primary account. 

    If you are wanting the messages to come to the same account, an alias would serve you better than a sub account.
    If you really want all of the mail to be in one inbox, set your sub account up in the primary account to be accessed via pop3, or set forwarding on the sub to the primary. That would cause all of your mail to be accessible via the priamry login, but you would still have to log in with the sub to send from that address.
    If you need help finding these settings, please let me know.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • Mailbox and Client Access on the same servers for CAS HA (L4 LB) and Mailbox DAG

    Hi, I would like to ask this question.
    I'm reading all sort of documentation that I'm finding on the internet, but I can't understand if what I'm thinking to do is possible.
    I would like to setup a basic environment configuring only two Exchange 2013 on two Win 2012 R2 servers. Both servers will be Mailbox (MBX) and Client Access (CAS). I will create a two-member DAG using File Share Witness or Disk Witness for the Dynamic Quorum.
    Then I will setup Outlook Anywhere with internal and external namespace for CAS redundancy and layer 4 load balancing.
    In this scenario I will not need to install a third part load balancer.
    Am I doing right or I watching a movie?
    Thanks in advance

    Hi ,
    You could need to have the HLB or virtual load balancers for redundancy.
    Disadvantages of some load balancing methods :
    If you use Windows NLB then it can provide redundancy on server level failure and not on application level.
    In case if we use the windows round robin method for load balancing then it wouldn't provide server level and application level redundancy during the failures.At the Same time we need to manually adjust the DNS records during the server failure but on the
    client end dns caches will create the issues.
    Lets consider you are having the internal and external names for outlook anywhere like below .
    internal and external outlook anywhere name :
    mail.domain.com
    For the above name just configure the HOST A record in windows DNS and map it to load balancer ip.Then the second step would be to configure your exchange servers in LB .So all the internal and external outlook client connectivity will happen via LB to exchange
    servers.In that case if anyone of the server is down then LB will automatically make the outlook client to get connected to the server which is alive and at the same time none of the request from outlook client to LB will get forward to the server which is
    in down state.
    Note : Make sure you are having the redundancy for LB devices also otherwise it would be a single point of failure on the LB end . 
    Please reply me if anything is unclear.
    Thanks & Regards S.Nithyanandham

  • Virtual-access gets the same ip

    There is a client getting an ip from a local pool. I clear the virtual-access interface but he always gets the same ip. How can the client get a new ip address?

    Clear virtual access interface. Let few devices obtain ip address before this device so that sufficient time would have expired and this device could get a new ip address.

Maybe you are looking for