How to manage an Asynchronous Queue???

Hi all,
Been searching for quite some time on what the best way is/simply how to manage an Asynchronous Queue.
I would have thought it was easy, but I'm definately getting the impression I am wrong. Here is some information that I would like to be front-facing on my client (whether Swing/Applet/Web-based hopefully does not make a difference):
1. The number of messages waiting
2. The number of messages being processed at the moment
3. The date/timestamp of each message in waiting
4. (optional) a user or programatically assigned name for each message in the queue (so that I will know what message I am looking at in-waiting).
Seems pretty standard, but I don't see a standard way of getting this information! Someone, please show me I'm not insane! =)
Environment is JDK 1.4.2, J2EE 1.3, JBoss 3.2.2, Message-Driven Beans.
TIA,
-D

1,3 & 4 are possible from the QueueBrowser

Similar Messages

  • How to manage jms queue?

    How to manage jms queue. I want to do operation on messages on jms queue like deleting the messages and hold the message for some time . Please provide the sample code for that.

    Thanks a lot Tom for the reply, I have read about the descriptor setting 'max-beans-in-free-pool' and I searched this concept at the Administration Console without success.
    I suppose other way is create a “Session Pools” under the JMSServer, and then create a “Consumer” and define the setting “Messages Maximum”. One of the disadvantages is that “Session Pools” don’t support JTA, from the documentation:
    +Session pools enable an application to process messages concurrently. Session pools are now used rarely, as they are not a required part of the J2EE specification, do not support JTA user transactions, and are largely superseded by message-driven beans (MDBs), which are a required part of the J2EE specification.+
    I continue reading the MDB chapter of the performance and tuning guide in the documentation, thanks for any contribution to the topic.
    Lucas.

  • Paperq: a tool for managing a reading queue of academic literature

    paperq is a command-line tool for managing a reading queue of academic literature.   It's usage is simple: you add files to the queue and then you run it without arguments to open the next file in the queue. The queue part of the code itself is rather simple but paperq also offers some other nice features:
    Add files (-a option)
    Remove a file (-r option)
    Display info on a file. Given a BibTeX file,  print the bibliographic information, otherwise print the file location (-i option)
    List all files (or bibliographic information) in the queue (-l option)
    Create an archive (tar.gz) of the papers in the queue, prepending the file names with the queue position (-z option)
    Operate on any file in the queue, instead of the head, via the -n option
    Peek at a file (open it, but don't remove it from the queue) via the -p option
    Print a file (-t option)
    Configurable file-opening command (xdg-open %s, by default)
    Documentation is available in the README file or on the website (see below). A man page is also included.
    I've been using it myself now that I finally stopped using Mendeley. I find it to be quite handy, so I've packaged it up to be shared with others.
    Screenshot showing the bibliographic info:
    Website
    AUR
    Last edited by jakobcreutzfeldt (2014-01-28 09:15:50)

    I just uploaded version 1.1.1.  I somehow missed a bug in which the first word of the author list was being chopped off. It's fixed.
    marttt wrote:Thanks very much for this! I can finally ditch some of my ugly scripts now. Have you considered adding other bibliographic data formats in the future? (Here is an interesting solution with YAML and Pandoc and, correspondingly, proper UTF-8 support.)
    Glad to hear it could be of use to you! Honestly, this also just started out as a quick script but little by little I started adding more handy features.
    As for other bibliographic formats, it could be possible. I'm mainly familiar with BibTeX, so I would need to see how the other formats look. 
    In all honesty, the bibliographic info printing could be greatly expanded: only journal articles are supported at the moment, and mathematical expressions in the titles aren't yet supported (i.e. greek characters).  It might be more efficient in the long run to write a dedicated biblio parsing program that loads some pre-written BibTeX-parsing library rather than all the crazy sed work that's going on in there right now. If that's the case, then it's just a  matter of loading some library for a different biblio file format in order to support it.

  • How large can a LabVIEW Queue in elements and bytes?

    How large can a LabVIEW Queue in elements and bytes?

    rocke72 wrote:
    How large can a LabVIEW Queue in elements and bytes?
    In
    elements it is likely something like 2^31. In bytes it is most probably
    around the same number or better, depending how exactly the different
    queue elements are stored. I think they are stored as independent
    pointers so it would be theoretically better than those 2^31. In
    practice however starting to allocated so much memory in LabVIEW will
    always cause problems on nowadays computers. Without 64 bit CPU and OS
    going above 2 GB of memory per application is very hard and as far as I
    know not supported by LabVIEW.
    Also allocating many chunks of memory (like a few million queue
    elements holding strings) will definitely slow down your system tremendously eventhough
    it will work but the OS memory manager will be really stress tested
    then.
    Rolf Kalbermatter
    Message Edited by rolfk on 06-09-2006 12:24 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • [NSFileHandle][Sockets] How to manage a network disconnection?

    Hi,
    I have built a client/server app that communicates via TCP/IP.
    The *Client is an iPhone Application* that receives and sends many messages of variable sizes through a NSFileHandle object linked with a socket as its filedescriptor
    I catch *incoming bytes trough an Observer* whose matching message is named "DataAvailable:(NSNotification *)aNotification".
    *When the server stops*, the observer receives one last "dataAvailable" notification, which I try to manage with the [NSFileHandle readdataoflength:1]... that throws an *exception indicating the +connection has been reset by peer+* , which I catch and manage through a SocketDidDisconnect: homemade message.
    But I have a *problem when the disconnection occurs directly because of a network disconnection* (I did disconnect the network on purpose) : I receive *no "DataAvailable" notification* (although it receive one I just close the connection from the server Application).
    Then I thought I could check every 1/10 seconds if my connection was still ok by trying to do a [MyNSFileHandle ReadDataOfLength:0] : that would throw an exception as soon as my connection goes down. But obviously, reading 0 bytes does not have any effect. And since I don't wanna loose the queued incoming data by various random reading, I don't know how to detect such a network problem.
    If any of your has an idea about *how to manage a network disconnection with a NSFileHandle without involving the random reading of queued incoming data*, I will listen to you with the greatest interest.
    Thank you for reading till the end.

    Looks like it will be of some help, yes.
    But I don't have time to test it today. I'll tell you as soon as I have tested it.
    Thanks anywa for your help

  • How to call a Asynchronous bpel process from a PLSQL procedure?

    How to call a Asynchronous bpel process from a PLSQL procedure?

    Hi,
    You could do something smart and technical very spiffy with soap-stacks in the database and/or dbms_ws/dbms_http. But I allways find AQ with AQ-adapter the simplest. Let Pl/sql enqueue a message on an aq-queue and subscribe an aq-adapter process on it. That can call your async-bpel process. If you want to get answer back in pl/sql, let the aq-adapter process enqueue a response message on another queue or on the same queue with another consumer name. Give it a correlation-id that you provided in the payload of your request message. Your pl/sql process can then do a dequeue on that correlation-id. It will sit and wait until a message with that correlation id is enqueued on the queue.
    Regards,
    Martien

  • How to Manage the Resource Master in Primavera Enterprise Version

    We are using P6 enterprise version in our company having a central database. We had created our own unique resources and standardised across the enterprise and is Admin protected. However we often have to import some schedules sent by our consultant/client. In those schedules they have their own resources.
    So when we import these schedules, it also imports the resources along with it and pollutes our resource master.
    Can anyone let me know, how to manage such a situation.
    Regards

    We have met this issue. You have few ways to deal with it, but each has its own +ve and -ve.
    1- You may create a separate "Working" db into which you can import those files and keep them there only. Your master db shall be used for maters and your own program only.
    2- You may do the same for checking the resourses, vet them before importing into the final db
    3- P3 and MSP importation allows you to select the node to which the resources will be located. We have created a resource node called "Imported Resources" and dumped all those resources into it. Our users don't have access to that node so those resources can only be used on the imported program and can't be assigned to any other program / activity
    4- Enforce your supply chain to use the same resource list. We managed to do that for our main and subcontractors. That formed part of their contracts.

  • How I Managed to Install Windows 8.1 Pro on an iMac 27-inch, Late 2013

    As is typical with many of my Boot Camp installs, this one did *not* goes as smoothly as planned. This installation was particularly troublesome, so I thought I would share how I managed to set up Boot Camp on a brand new iMac (27-inch, Late 2013) using a Windows 8.1 Pro DVD and an external Apple SuperDrive. These are the steps I took:
    Download Boot Camp Support Software 5.1.5640 (http://support.apple.com/kb/DL1721)
    Copy Boot Camp Support Software to empty MS-DOS (FAT)-formatted USB key
    Run Boot Camp Assistant and select third option only (Install Windows 7 or later version)
    Computer would reboot after Boot Camp Assistant finished but would boot back into Mac environment and not continue Windows installation
    Boot computer holding down option key and select Windows (with DVD icon) and go through initial setup process (could go as  far as trying to format Boot Camp partition as NTFS and then got stuck)
    Quit Windows installer and reboot computer holding down option key and select EFI Boot
    Run Windows installer
    These same steps worked for another iMac (same model) that I set up later the same day.

    Note: These types of discs or activities are not supported by DVD or CD sharing:
    DVD movies.
    Audio CDs.
    Copy protected discs such as game discs.
    Install discs for an operating system such as Microsoft Windows (for use with Boot Camp), or Mac OS X.
    Burn a CD or DVD

  • How can I clean up queue one-time on Sun Java system messaging 6.3

    Hi,
    <address>Our Email server have a problem, When I run _./imsimta qm directory tcp_local_, There are about 5 Millions of messages in the queue.</address>
    Now our Email server send messages very slowly, how can I clean up queue one-time?
    the command _./imsimta qclean_ is very slowly.
    What can I do to prevent this problem?
    our Email server version is :
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)
    libimta.so 6.3-6.03 (built 17:12:37, Mar 14 2008; 32bit)
    SunOS email-1 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V890
    Thank you !

    If you have more than 100,000 messages in the queue, then look at the MAX_MESSAGES parameter in [the job_controller.cnf file|http://wikis.sun.com/display/CommSuite/Job+Controller+Configuration+File]. If the parameter is not specified, it defaults to 100000. If you have more than that number of messages in the channel queues, it will take a long time for new/legitimate messages to be sent because job_controller is only considering the first 100,000 messages in the queue.
    If you get into the "imsimta qm" command do do "sum -database", it will show a summary of what job_controller has in its internal cache and therefore what job_controller is working on. If you compare that to "sum -directory" you will probably see a difference.
    If these are all legitimate messages, you need to increase MAX_MESSAGES, cnbuild, and restart job_controller.
    If they are not, then preventing this in the future will require determining how they got into your queue and correcting that.
    As for removing them, the "imsimta qm" commands allow you to select messages by various criteria and then you can "return" or "delete" them. But yes, that will take a long time if there are many messages because it is a single threaded process and it needs to open and examine each message. You may be able to accomplish the task more quickly with a shell script that works on individual channel queue subdirectories and then run multiple copies of that script in parallel. After you have cleaned out the queue, restart job_controller.
    Also, you might want to consider [the subdirs channel keyword|http://msg.wikidoc.info/index.php/Subdirs_and_nosubdirs_Channel_Options].

  • How to manage one wsp and dll for multiple clients in farm environment

    1. There is a product which is developed using C sharp , jquery,CSS and sharepoint object models which have been packaged into .wsp file. Whenever we introduce new functionality to the product we used to branch the
    previous code as a version , say Version 1.0 and new functionality of the product will in another solution. This is how we are managing the code in TFS as versions. Each newer version will have new functionalities. We do not give latest functionality for all
    the clients. Each client is having its own version of functionality. Technically in order to access the functionality, the wsp solution should be present in the solution repository which is available in SharePoint central administrator site. This solution
    will be deployed on the client’s site. We are following the above process in SharePoint standalone installation where we used to purchase dedicated server per client and installed sql, SharePoint foundation 2010 as standalone installation and adding the client
    related version of the code to the solution repository. Later host on the site which is created for that client purpose. This process is same for all the clients where we purchase individual server for each client .
        Now we want to host our product in farm environment of sharepoint foundation 2010 where we are going to try 3 level architecture. 
    • SQL Server-In this sever we are going to install sql server 2008R2 standard edition. Which should serve the database service for all the web applications/sitecollections which we are going to create in Web front end server.
    • Application server- In this server we are going to install the sharepoint as farm and will install search server express for serving search functionality for our product
    • Web front end server- In this server we are going to add this server to Sharepoint farm which we have created in application server. Here we are going to create web applications and site collections for all the clients.
    In this scenario how to manage multiple versions of same wsp solution?
    Another major issue w.r.t the architecture of the product and new approach for client deployment as follow.We have CSS, jquery files for serving the functionality.These files have been mapped to 14 hive folder.If any changes we do one of the jquery file or
    css file which is meant for latest version and not for old version, then how to manage this new functionality for that particular css or jquery file in 14 hive folder, since there is only one 14 hive folder. What is the best practice to make this happen? Another
    thing is, how to manage dll files for individual client?

    It sounds like you have a farm scoped solution at work. In that case you can only have a single instance of it per farm, you'd have to branch each version so they appear to be seperate solutions entirely (thus ruining your clients upgrade process).
    Bluntly i don't think a single farm can manage all your user environments.

  • How to manage photos from multiple accounts

    Hi,
    i am trying to solve one problem. I have one iMAC where i have two user profiles connected to different AppleIDs. Next to it there are two iPhones and two iPads. I am trying to find out, how to manage photos from all these devices using one account on iMAC. Second question is if there is any finction in iPhoto that can publish images to NAS server? Second alternative for me is to byu iCloud drive space and use Family sharing for publishing photos. Bellow text schema is attached, it is only my idea and i dont know if this could work like this. Did anyone somehow solved this configuration? Thanks

    I can see the screenshot if I double click on it.  However, here is it again.  Being Halloween maybe it'll show.

  • My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    My family put multiple devices on the icloud, and I need to know how to manage duplicate entries.  Specifically contacts.  If I fix the contact list on my pc will it push the info out to the other devices and maintain it correctly?

    All devices signed into the same iCloud account will finish up with the same contacts. Of course if prior to joining iCloud two family members each had an entry for Uncle Fred, then you will finish up with two contact cards for Uncle Fred, and so on. If you tidy this up on your computer then the changes will propagate to everyone else.

  • How to manage my daughter's new phone account

    We just got my 11 year old daughter her first phone (a Samsung S3 Mini). The salesman told us we would be able to use the "Family Base" to control/ turn-on-off her phone, text, web access and email and we would have full control there. Our main goal (as we explained) was to let her have the phone, texting, and gmail, but to turn off her web access (unless she was being supervised - at home). He told us we would definitely be able to keep GMail on, and separately control her web access.  Now that I am looking through the Family Base control center, I'm not really seeing all that.  I see you can manage phone and texting (which we've decided to let her have on), but I don't see management of web access, and I don't see exactly how to manage that separately from her ability to email.
    My second issue is... I would like to activate a "Find my Mobile" or "Find My Phone" type service (because I'm worried about her leaving her phone somewhere) but I'm wondering if this service requires that her phone have web access (and maybe location services on?) so that it can function.
    Surely there are other adults out there trying to manage their kids the same way I am. Can someone please give me some tips/ best practices or suggestions on how to manage all this?
    In addition to my concerns about managing her web usage (while maintaining email), what's the best "find my phone" that I should implement?
    Thank you in advance.

    A few things you can do here.
    1) The Verizon Rep Lied to you
    2) You can download Parental Control Apps from the Play Store that are password protected and work much better then Family Base. Look at those and dump Family Base
    3) Download Where's my Droid. It will do all of the find my phone options and much more. check it out
    4) You might also want to download something like Phone Tracker which will allow you to track the phone and its whereabouts near real-time so you can see where she is at all times. (Check local laws in your area first though to make sure you are legal doing this)

  • How to delete the delta queue in the ECC

    Hi everyone!
    After I tryed to save a new Infopackage and I have the error :
    (Deltas already loaded for request REQU_41Q82WJLR9AZCE9ZMKQLVG3RG init. selection; no 2. init
    Message no. RSM1071
    Diagnosis
    Deltas have already been loaded for the init. selection of request REQU_41Q82WJLR9AZCE9ZMKQLVG3RG. A second initialization is therefore not possible with these selection conditions.
    Procedure
    If you want to carry out a new initialization, you have to choose selections that do not overlap.
    If you want to repeat the init. for the same selection, you have to delete the delta queue in the source system, and restart the delta process.
    As the error says - Deltas have already been loaded for the init. selection.
    Can you please give me some links/guids which describes how to  delete the delta queue in the source system, and restart the delta process.
    thank you, Ron

    Hi,
    Assuming as you need to the reinit for same selections.
    in such case you need to delete old init.
    how to delete init:
    Go to your info pack screen, menu Scheduler--> initialization options for source system--> here you can see the existing init, select init(green) and delete it.
    Later you can trigger your init info pack with selections.
    Thanks

  • How to Manage Creative Cloud for Teams | Learn Creative Cloud | Adobe TV

    This is a short video about how to manage and administer Creative Cloud for teams using a new, intuitive web-based tool called the VIP Admin Console. The Admin Console allows IT administrators to add Creative Cloud seats, assign or re-assign these seats to team members, monitor storage allocation and more. This short video shows you how this is done.  
    http://adobe.ly/ZDWoCl

    Can I assign more than one seat to a user?
    In our studio we have 7 workstations - so far we just had 7 CSs in Volume Licensing. We have licenses assigned to machines rather than people - any of the artists can sit on an available machine and just start working.
    What is the equivalent for CC?
    Do I create a single Adobe ID for our studio and assign 7 seats to this user and then use it on all machines for installations, or do I have to create 7 Adobe IDs (one per workstation) and assign a single seat to each of them?

Maybe you are looking for