Can i have sync and async listeners for the same queue ?

Hello,
I am a novice in JMS. Wondering experts over here could throw in some light !
Can I set both synchronous and asynchronous listeners for a perticular queue.
eg: pseudo code.
status; // default to start
run()
setListener(Q1); // listener sets status to stop
while(1)
waitForUserPrompt(value1);
switch(value1)
a: fun1();
break;
b: fun2();
break;
fun1()
while(status != stop)
stay in loop.
fun2()
// synchronously wait for "stop"
receive(Q1);
// wait and do following important code!
}

Hi,
I don't know in Chrome, but in Safari (pc or mac) you can open icloud.com twice on two different tab or windows and open one with contact and the other in Mail without messing up.  What kind of mess to do you experience?
There is no other options to do what you want to do.  You need to click on the little top cloud to switch from one to another.
Beside, I don't understand why even 2 open tab would help more than having to switch via the cloud icon.  I may need to cut/paste some info from contact or calendar from time to time, but switch via the cloud icon is not really painfull.

Similar Messages

  • Can I have mail and contacts open at the same time

    I really want to be able to have one or more iCloud Apps open at the same time; for example, I may be looking up some info on a contact or in calendar in order to mail someone. At times I have just opened a different tab, but it seems that iCloud then gets messed up.
    I am running Windows 7 at work and the latest version fo Chrome.
    Any help would be greatly appreciated.
    Bryan

    Hi,
    I don't know in Chrome, but in Safari (pc or mac) you can open icloud.com twice on two different tab or windows and open one with contact and the other in Mail without messing up.  What kind of mess to do you experience?
    There is no other options to do what you want to do.  You need to click on the little top cloud to switch from one to another.
    Beside, I don't understand why even 2 open tab would help more than having to switch via the cloud icon.  I may need to cut/paste some info from contact or calendar from time to time, but switch via the cloud icon is not really painfull.

  • Beginner question: can i have 16x9 and 4x3 footage on the same timeline?

    Hi,
    I am assembling a highlight promo reel for somebody and i have 16x9 and 4x3 footage. not sure what to do or which footage to convert, since i need them both for the promo. any suggestions would be appreciated, or please direct me to a past discussion.
    thank you
    -shelby

    If the majority of your footage is 4:3 work in a Timeline that is 4:3.
    Your 16:9 footage will letterbox automatically to fit with black bars at top and bottom.
    You could also cache the 4:3 material with the Widescreen filter to fake a 16:9 look.
    If the majority is 16:9, use a 16:9 Timeline. Your 4:3 footage will pillarbox -black bars at left and right.
    You could fill that area in by placing a copy of the 4:3 above itself on the Timeline. Enlarge and blur the lower layer to give your clip a complimentary "border". Simply blowing up 4:3 video to fit a 16:9 Timeline will make it look horrible.

  • Can I have more than one library for the same ipod nano?

    I have a desktop pc that I have originally setup my nano on. I have about 400 songs on that computer. I have about 500 other songs on my laptop, can I put itunes on to both computers and have them add the songs from each one respectively without erasing the other? and if so, how?

    Type 61675 into the search bar under the support tab on this website. "How to use ipod with multiple computers"
    Basically, you have to change your preferences to manually manage instead of automatically update.

  • Can you have SATA and PATA drives at the same time?

    Right now I have 2 PATA drives hooked up to the board. Is it possible to hook up a SATA drive that will be a non-boot drive for just storage purposes?

    You can havepata disks + Sata, with sata as boot or not, you just need to update the Hard disk boot order in advanced bios settings.
    luck

  • Can you have 3G and 4G toggles at the same time

    I have searched google/apple but can't find a mention anywhere that the 4G(LTE) toggle is possible to have as well as a 3G toggle.
    I have heard mention that the one usually replaces the other depending on the carrier plist (carrier update)
    i.e would adding "Enable3GSwitch" to the plist file show both toggles?
    In my current plist I can only see that the 4G toggle seems to be renamed from LTE i.e.
    DataIndicatorOverideForLTE is set to 4G.
    Obvioulsy find out if its possible to have both is needed before I rant and rave at Vodafone here in the UK.
    Thanks and Regards
    Jason.
    Message was edited by: Elfstones65

    Thanks Deggie very dissapointing think we need to get Apple to fix that somehow. I have used my phone a quite a bit today but not overly more than I used my 4s 100% drain of batter in 12 hours

  • Can I have Recovery and HP Tools in the same partition?

    My HP originally came with 4 partitions. However, I needed one parition to install Ubuntu. Therefore I deleted the HP Tools partition since I backed up the HP Tools files and knew I could get another copy from HP. However, I would like to know if it is possible to add HP Tools to the Recovery partition? If so, how?
    Extra details:
    HP Pavilion dm1
    Windows 7
    64 bit
    Thanks in advance!
    This question was solved.
    View Solution.

    Thank you so much! I now understand what I need to do.

  • I am subscribed to Photoshop only and I want to know if I can change my subscription to have your new offer of Lightroom and Photoshop together for the same price I am paying for Photoshop alone?

    I am subscribed to Photoshop only and I want to know if I can change my subscription to have your new offer of Lightroom and Photoshop together for the same price that I am paying for Photoshop alone?

    Contact sales support by web chat. They can cancel your current subscription and transfer you to the new one if you are within certain criteria. Otherwise you may need to wait until your subscription runs out and then sign up later.
    Mylenium

  • Extension mobility - can i have 2 extension mobility profiles with the same extension for a 7970 phone and a 7975 phone?

    extension mobility  - can i have 2 extension mobility profiles with the same extension for a 7970 phone and a 7975 phone? thanks

    Yes, or simply configure 1 UDP and default device profile for the other one.
    EDIT: and actually with those models, you should be able to use just one
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/admin/10_0_1/ccmfeat/CUCM_BK_F3AC1C0F_00_cucm-features-services-guide-100/CUCM_BK_F3AC1C0F_00_cucm-features-services-guide-100_chapter_011000.html#CUCM_RF_EDCB3C30_00

  • Can we have more than One DC for the sales organization and Plant combo?

    Can we have more than One DC for the sales organization and Plant combination?
    If yes can you please site a practical example to clear the picture

    Hi
    First of all in SAP sales orgs are assigned to distribution channels and the combination of sales org and distribution channel which is called distribution chain is assigned to plant
    There is  no direct link  between sales org  and plant or distribution channel and plant
    So  sales org  and plant combination doesnot exists and
    it is only sales org and dist channel combination which is  called as distribution chain only exists
    Nowhere in SAP we are assigning sales org to plant
    It is because sales org alone doesnot make sense and its combination with dist channel only makes sense
    because sales org is a selling org and the distribution channel is the route to sell and this combination has only to pick the material from plant to process sales to customers
    The relation between sales org and distribution channels is many to many and also vice versa
    Multiple sales orgs can be assigned to one distribution channel and
    Multiple distribution channels  can be assigned to one sales org
    Similarly the relation ship between Distribution chain (sales org+dist channel) to plant is also many to many and vice versa
    Similarly plants from other company codes can also be assigned to Distribution chain to facilitate intercompany processes
    In whatever way look at it the multiple distribution channels can be fit anywhere
    Regards
    Raja

  • HT204053 can you have multiple apple id's for the family but we all use the same iCloud?

    Can you have multiple apple id's for the family members but we all us the same iCloud account?

    You'll have to have an ID you all share in order to have a shared iCloud account. It would be sensible for each person to have their own ID and their own iCloud account for email and their own data (each would be on their own computer/iOS device or user account on a Mac) and then have a common account which everyone would sign into in System Preferences>Mail, Contacts and Calendars to access shared data.
    You don't want to be all using the email in a common account - if people are using email aliases remember these can't be detached from the account and transferred to another one. Having all your emails mixed up together can be somewhat impracticable.

  • HT5622 Can I have two apple id's on the same iPad. Example me and my spouse want to share the iPad but have different id's

    Can I have two apple id's on the same iPad. Example me and my spouse want to share the iPad but have different id's

    iOS does not support multiple users like a desktop OS does.
    You can use a web interface to your respective email accounts
    to keep things separate; but there is no provision for otherwise
    separating photos, media, etc.
    If you wish, you can contact Apple to let them know of your desire:
         www.apple.com/feedback

  • Can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    can you have multiple Apple TV's in the same house and network? If so how do you know which one to pick from your Idevice?

    Yes, there are even defaults for naming them, such as LivingRoom, Bedroom, etc, or you can even enter your own name with the remote for each AppleTV.

  • Can we have two different logon screen for the Portal

    Can we have two different logon screens for the Portal?
    We should split the Logon application in two different applications:
    Login # 1
    should be read a DataSource.XML reading the Active Directory (Microsoft), to read-only the profiles from the AD, and block some IP address range.
    Login # 2
    should be read a DataSource.XML reading the Portal user only
    Is this possible?

    Hello Developer,
    Did you find an answer to this problem. I also have a similar issue at hand and am wondering if anybody has a solution for this.
    Thanks, Akhilesh

  • Can we have two different web url for a same instance ??

    Can we have two different web url for a same instance ??
    I have read it somewhere that it's possible in R12....please correct me if I am wrong...and if it's correct please let me know the doc id for it...

    Hi again;
    Pelase also see Hussein Sawwan previous great post
    Multiple URL (hostname.domain) to the same instance
    Multiple URL  (hostname.domain) to the same instance
    Regard
    Helios

Maybe you are looking for

  • Can multiple LabVIEW programs simultaneously access the same NI-DAQmx hardware?

    I am developing a test station system that, in essence, runs several seperate LabVIEW programs simultaneously on the same computer, each controlling a different set of I/O channels on one shared set of NI DAQ hardware (analog and digital I/O PCI boar

  • How can I get a list of purchased apps?

    Recently restored my iPhone from backup, and I need to download my apps.  How can I get a list of apps that I've downloaded/purchased? If I search for an app via the app store that I had previously installed, the Install icon turns into a Cloud with

  • F4 help for Billing document in vf02

    Hi All, In Sales scenario of free samples,after creating the billing document with net value as zero(as it is free sample). I am new to ABAP.When i am going to VF02 Transaction and I press F4 help for Billing Document,it gives the error 'No values fo

  • How to edit display / font in Cockpit Management Frame?

    In the Dashboard/Cockpit Management Frame I have a display that is using a BIC - Text Type. Now I have my Document created and working fine, but my question is: How can you edit the display of the comment displayed in the Wall/Frame of the Logical vi

  • Restart G4 Message

    Am I the only I with this message? The first time it appeared was after the "Restart" following the upgrade to a new "n" AirPort Extreme Base. During the restart, the screen darkened (the desktop was visible but dark, and there was the direction to r