In AQ access by JMS. How do I set queue options ?

Accessing an AQ queue using JDBC methods, I needed to set deq_option.NAVIGATION_FIRST_MESSAGE. otherwise the first 'dequeue' dequeued the last message and subsequent dequeues returned null.
I have the same problem using JMS access methods. But HOW DO I SET THE QUEUE OPTIONS IN JMS ???
JDBC code (taken from examples in AQ App Dev Guide) :
deq_option = new AQDequeueOption();
deq_option.setNavigationMode(deq_option.NAVIGATION_FIRST_MESSAGE);
for (int i=0; i<4; i++)
/* Dequeue a message: */
try
m = queue.dequeue(deq_option, CA_OUT_CONV_TYP.getFactory());
JMS code :
q_conn = qc_fact.createQueueConnection("CA_QUEUE", "CA_QUEUE");
queue = ((AQjmsSession)q_sess).getQueue("CA_QUEUE", "CA_REQ_OUT_Q");
q_receiver = ((AQjmsSession)q_sess).createReceiver(queue, CA_OUT_CONV_TYP.getFactory());
for (int i=0; i<4; i++)
System.out.println("look for message");
m = q_receiver.receive(1);
q_sess = q_conn.createQueueSession(true, 0);
null

xtian wrote:(I get confused by lines like "the [x] resource in UTF-8 locales". Should get used to this meaning .Xresources?)
For most people, yes that does mean ~/.Xresources.  It's only a convention to use .Xresources, but xrdb will load or merge an X resources file of any name. 
3) I am using Terminus. Can you recommend a complete coverage alternative from the All and True Type fonts included in the official repositories as cited on the Fonts wiki page? I've not gone as far as to learn how to manage my fonts in Linux (my font knowledge ends with Adobe Multiple Master fonts before 2000).
A TrueType font with wide language coverage is DejaVu Sans Mono from ttf-dejavu .  Other general purpose monospaced fonts to consider might include Droid Sans Mono and Liberation Mono, from ttf-droid (Google's Android fonts) and ttf-liberation (Red Hat's Liberation fonts).  The default font for xterm is usually the font with the XLFD aliases "fixed" and "6x13" from the package xorg-fonts-misc.  That's a great font for its glyph coverage, it's just too gosh-darn small for most people.
4) If the wiki is 6 years old then its very possible I've done something incorrectly.
  Looks okay to me, but I'm not an expert at diagnosing locale faults.
5) I'm using the uber-minimalist WM EvilWM without a display manager. This means I boot to tty1 (and wow is it fast!) and then if I'm going to use X, I type startx which executes the evilwm and its parameters in .xinitrc. This opens with a completely blank screen. Ctrl + Alt + Enter launches xterm (and its just xterm according to htop). I guess evilwm has some line for starting xterm, but when I wrote this post I questioned if there another dot file existed or setting in /etc that I just hadn't thought to discover before (Fedora was my bag).
The command 'startx' is a shell script.  Try the command 'xinit' to start X with even less overhead.

Similar Messages

  • HI,How can i set delta option for costumised Generic data source

    Hi Sir/Madam,
          How can i set delta option for costumised Generic data source.
    Regards,
    Vishali.R
    Please search the forum before posting a thread
    Edited by: Pravender on Aug 15, 2011 1:26 PM

    Hi,
    Go to RSO2 transaction and click on change then on the tool bar click on Generic Delta button. In the next popup you can set your delta.
    Regards,
    Durgesh.

  • How to enable / set Siebel option to import mappings in V10.2 version?

    How to enable / set Siebel option to import mappings in 10.2 version? This was available in 10.1. I can see that plugin exists (e.g. C:\Program Files\Oracle\Policy Modeling\plugins\siebel-import-.export).

    Unfortunately, the Siebel Plugin for OPM is not functioning due to a bug in the initial 10.2 release. We are working on an updated release that will fix this issue.

  • I just update my iphone 4 to IOS 5 and in the lock screen I do not see the icon to access my camera, how can I set it up?

    I cant see the camera access on the lock screen , I just updated my iphone 4 to IOS 5, anyone nows why??

    I've repeatedly had problems with my Yahoo! account on iOS 4 too, and I've had to delete it, then set it up again. It kept asking for my password, though the phone had it memorized, and when I entered it, I'd get the same error message about no password being set. Could be the Mail app has a problem with Yahoo!, because on my MacBook Pro too, the Yahoo! account sometimes gets locked out.
    Oh, and thanks for the tip about the lock screen: I've just posted a new discussion about this. Should have searched the forum first, I know...

  • How do I set view options for all playlists at once?

    Hello,
    I want to able to set the view options for all my playlists at once (to include BPM, category etc). Currently you can only do this individually for each playlist.
    Surely there is an easier way?

    Moka.s-Onkel wrote:
    Now I have some questions:
    1. Is there a way of selecting multiple playlist in iTunes? And if yes, can I then change the view options for all selected playlists? How does this work?
    2. Is there any other way to apply view option settings to multiple playlist?
    1 - No
    2 - Using iTunes, no.
    However this script will do what you want .
    -> http://dougscripts.com/itunes/scripts/ss.php?sp=assimilateviewoptions

  • How do I set the options to check for newer versions of stored pages so I get a new refreshed version every time I visit a web page?

    I can do this in IE easily but can't find any place in Firefox for this setting. Every time Firefox starts and/or I visit previously viewed pages I want Firefox to refresh the page. It used to do this before I downloaded a new version of Firefox within the past couple months. (I wish I had not installed the new version, I really don't like it as well and I lost features I used.)

    See:
    *http://kb.mozillazine.org/browser.cache.check_doc_frequency
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • How does one set the option to pre-compile JSPs on deployment in WL 10.3?

    Outside of manually creating and modifying weblogic.xml, that is.
    There used to be a tool Weblogic Builder that gave a graphical interface to modify weblogic.xml. Has this been replaced in 10.3 or just thrown away?
    Also, can I set the option at all in an app deployed as a war without exploding the war manually.
    Thanks.
    Edited by: joeb on Jan 29, 2009 5:26 PM

    You might be able to do this with a deployment plan. If doing this requires adding an element, as opposed to simply modifying the value of an element, then it might not help.
    It would be conceivable to add this capability as part of a build process, as you can use the "xmltask" Ant task library, to automatically modify the file. You'd also have to add in tasks that automatically exploded and reconstruct the WAR file. At least you wouldn't have to do this manually.
    I doubt there's any way to change this in an already deployed app, without redeploying the app.

  • How do I set VS4VS2010 Options?

    In Crystal Reports XI it is possible to set the Editor options to "Crystal Syntax" or "Basic Syntax" I can't find a place to set it. Everutime I open a Crystal Report Editor I have to change the Syntax dropdown. Sometimes I forget and when I check a Formula it fails.
    I looked for a CR4VS2010 User Guide, but can't find one.
    I've seen several postings stating that it is at the following path:
    C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\HelpFiles\en
    Since I installed it on a Windows7 Ultimate 64-bit machine I looked in the following path:
    C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\Crystal Reports 2011\HelpFiles\en
    in that folder I see two CAB files and a MSHA file,

    Hello,
    The report designed built into VS 2010 is a legacy COM designer and does not have the full functionality as the stand alone version of CR.
    Use Cr 2008 to design your reports, or any previous version.
    As for the help file see this Kbase article: [1530989 - Crystal Reports for Visual Studio 2010 help files|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333330333933383339%7D.do]
    Thank you
    Don

  • If I want to retrieve more information about the cookies being stored, such as when the cookie was accessed/created/modified; how can I find this information?

    I would like to have more information about the cookies being stored on my computer via firefox- such as last date accessed/created/modified; how can I add these options to cookie storage?

    Maybe this extension will do that:
    *Cookies Manager+: https://addons.mozilla.org/firefox/addon/cookies-manager-plus/

  • How do I set up an @more-com e-mail address for i-cloud. I do not want this to be used for my default e-mail.

    I want to verify my i-cloud but Apple keep sending the e-mail to @more-com and I cannot access this.  How do I set up my mail to be able to access this e-mail address. I want to keep my existing e-mail with Tiscali(TalkTalk) for all my other e-mails.  I am really confused!

    This is sort of  generic "fix all" for when you receive that message in IMAP email accounts on the iPad.
    Check the primary outgoing mail server username and password and make sure that they are in the settings even if it says that they are optional.
    Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if it works.
    If it doesn't work, try deleting the account, restart the iPad and start all over again.

  • How to access the JMS queues in the XI J2EE Engine?

    Hi Gurus,
    Can anybody know how to access the jms dead message queues in the WAS J2EE Engine?
    I have read in the SAP documentation that we can use some JMS commands from the telnet. I don't know how to use those commands.
    Can anybody provide a step-by-step process to access these queues?
    Thanks
    Kalyan

    1) Open a command prompt
    2) type
    telnet localhost 50008
    where the port is the same as your http, but with 8 as last digit.
    3) Login
    4) Issue the following set of commands
            jump 0
            add jms
            jms list deadmsgs
    Check by man jms other possible options.
    HTH
    Peter

  • How do I set up a Web-based access page to allow access to the internet through my router?

    My wireless router is a WRT54G.  I own/manage several condos in a building and guests change all the time.  I want to set up a network with internet access similar to hotels and airports where access is granted after being directed to a web page and entering a password.  How do I set this up?  (I have several domains/websites if this is needed.)

    Not with standard firmware and no other equipment.
    If you want standard firmware and warranty and service you have to look at more expensive equipment.
    For some WRT54G you can flash 3rd party firmware which opens up the Linux on the router. See the wikipedia article for "WRT54G" for a start. Also check out dd-wrt. Some people there use the WRT in hotspot setups with dd-wrt. They should be able to point you into the right direction.
    Otherwise, what you are able to do with the WRT and standard firmware is radius authentication with WPA or WEP (called WPA Enterprise or similar...). This however, does not redirect you to access through a web site. You have to enter the username and password when you connect wireless to the router on your computer. If it matches you get access. Again: there is no web site involved here and if you don't know the username/password you cannot access anything not even an internal, free homepage. This also does not work for wired access to the router.
    Message Edited by gv on 11-25-2007 08:44 AM

  • I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    Close ... before going for a specific Cisco app ... lets find out some details:
    Host we need more details:
    What is your server environment (Windows Server, or Mac OS X Server, or Linux)?
    What security is implemented in your environment - as what is restricted (RDP for all or specifc credentials on all machines? Are you part of local admin group to the server you wish to connect)?
    Does your environment Support CISCO IPSec connection? If so use Settings> VPN and IPSec tab to enter VPN details, if not then go with above suggestion. IF your restricted to RSA then either built in VPN settings or 3rd party app for RSA would suffice.
    Finally, there are many RDP applications out there I use "Mocha RDP Light" (free minimal ads when launched not when connecting).

  • I uploaded music to my MacBook and I went to open my iTunes account on another computer and could not access them. How do I do that?

    I uploaded music to my MacBook and I went to open my iTunes account on another computer and could not access them. How do I do that?

    Welcome to the Apple Community.
    The following article(s) may help you.
    Understanding Home Sharing
    Setting Up Home Sharing On A Computer

  • HT201303 How do I set up my iPhone so that I have to enter my password each time I need to access my apple account? Previously my account name was always stored and I only had to enter my password each time but now it never asks for a password

    How can I set up my 4s so that when I need to access my apple account to either download an app, update an app or buy something then I need to just put in my password?  This is how my 3s worked but the 4 s seems to have stored all my details so I don't need to log in. My young son sometimes plays games and I dont want him to accidentally buy stuff. If I log out then each time I need to go back in I have to put in all my account info. Not just my password.
    Any ideas?

    Depending upon what version of iOS that you have on it then you might have a Settings > General > Restrictions > Require Password setting on it - if you do then set it to 'Immediately'

Maybe you are looking for