Any utili to clean the messages in the queue?

Is there any utility that can delete specific messages from the queue? that could make maintenance easier.
          Regards
          dt

Is there any utility that can delete specific messages from the queue? that could make maintenance easier.                    (1) You could write a program that uses a javax.jms.QueueBrowser. Then delete specific messages by consuming them using a selector with the message identifier as in the following example:
          String selector =
          "JMSMessageID = '" + message.getMessageID() + "'";
          Keep in mind that the queue browser is a not a "live" view of the queue. It is a snap-shot.
          (2) WL 9.0 and later has message management mbeans (JMX) that are available both programmatically and through the console. These let you browse and delete messages, and are more powerful than the QueueBrowser (there's access to messages that normally wouldn't be visible to the QueueBrowser, such as scheduled messages that haven't been born yet).
          (3) There are various utilities that use QueueBrowser.
          The one I recall is a dev2dev project based on the JMS "QueueBrowser" API that's called "JMS Error Destination Manager". I think there's also a fairly sophisticated open source project (on Apache?) which works similarly (I don't recall the name).
          Tom

Similar Messages

  • When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    When I import video and place it into timeline as a raw file with no fx or any added processing I get the message that the video is unrendered and therefore it doesn´t playback?

    FCE can use DV or AIC video formats natively.  Any other format will need to be converted to one of those two if you want to avoid constant rendering.  The clips you use must match the Sequence settings.
    -DH

  • My Seagate external 250GB hard drive ejects improperly without command.  I am trying to use Time Machine to backup my macbook via usb cable...  I keep getting the message that the disked ejected improperly...  Any solutions...

    My Seagate external 250GB hard drive ejects improperly without command.  I am trying to use Time Machine to backup my macbook via usb cable...  I keep getting the message that the disked ejected improperly...  Any solutions...

    You are not alone. Thousands have this problem, on various models of Macs. Short answer, it has something to do with the disk going to sleep (possibly?). You can't do anything about it and Apple won't address the problem. Maybe you should buy a time capsule. Just keep giving them money and use their proprietary equipment.
    For a more complete answer, see this thread (all 65+ pages of it with NO SOLUTION IN SIGHT... except for some 3rd party solutions that sometimes work, sometimes don't): Disk Drive ejecting itself

  • When I end a call the phone remains blocked, and the message on the phone is that; call is being ended. Any advice?

    When I end a call the phone remains blocked, and the message on the phone says; call is being ended (in Norwegian), Any advice?

    Thanks razmee209 for taking the time to answer.
    I have tried that, but without success unfortunately.

  • I left my Mac at the store for it to complete a 16 hr. backup.  Yet, I still get the message that the backup has failed, try again later.  If this persists use Utility Disk to  repair.  I have done all of this and the Apple Genus said everything was ok.

    My question:  is it important that I seek further help with this backkup issue or just ignore it.  The 16 hr. backup at the Apple Store is accessable in the Time Machine.  I'm just concerned about the error message. 

    I did the verification, which indicated that the last backup was 0422 today.  However, when I opened my Mac, this morning at 0500, I still got the message that the backup was NOT performed, etc, etc. etc.
    The backup is made on the standard Tiime Machine.
    The next backup has already started as of 0518.  Let's see what happens.  This is strange.  Here is the time sequence: 0518    Backup started
                    0525     Mac. froze and color wheel would not allow me to access anything on the Mac,
                    0528     Backup continuted:  91.9 MB of 94.8 MB
                    0530     92.2 MB of 94.8 MB
                    0532     Backup stopped.  Message: Latest backup 4:22 Today.
    It seems to be functioning properly at this point.  I'm curious to see if I get the standard "The backkup was not performed because an error occured while copying files to the backup disk" message, later today.
    I appreciate your help.  I'll keep you posted as I may need your help again. 
    Thanks

  • Is there any command line tool to view the message on the topic?

    Hi
    How can I view/browse the messages on the queue/topic, without write a program?
    Jirong

    Hi,
    I would recommend you to have a look at this excellent Hermes: http://www.hermesjms.com/
    Cheers
    Arnaud

  • After aborted rebuild in Mail: I can see and select the message in the center pane and when I click on it to display, I get "Loading" text, but nothing comes up

    I have searched quite a bit to find a resolution to this problem, with no success. Any help would be appreciated.
    I decided to rebuild my inboxes by following this advice: http://support.apple.com/kb/PH11704. The rebuild took several hours and at 96% (4 minutes remaining apparently), the indexing froze (that is, after 8 hours, the message was still telling me "4 minutes left"). I forced quit mail, restored the previous Envelope files from the trash, and everything seemed fine.
    However, since this failed attempt, I can see and select the message in the center pane and when I click on it to display, I get "Loading" text, but nothing comes up. All messages in my various inboxes have the reloading problem, EXCEPT messages that I downloaded since the aborted rebuild (in other words, there are about 40 messages that I downloaded since I tried the rebuild and I have no problem with these). The other 70,000 messages however wont load, even though I can see them in the centre pane and spotlight has no problem finding them and showing me their contents (when I hover the mouse over the message). When I click on the message in spotlight, mail opens and the loading problem re-occurs.
    Since then, based on various suggestions I found for similar issues, I have used Disk Utility to verify and repair permissions and the drive. I used Onix to rebuild the Mail index (that only took about a minute - I am not sure how to interpret this when compared to the hours the rebuild took with Mail). No joy, I still have the same problem. I even restored one of my inboxes via Time Machine and the same issue with loading continues.
    I am using ML 10.8.2. I have a combination of IMAP accounts (work) and POP accounts (personal). The issue of loading occurs irrespective of the account.
    I am baffled and am now considering migrating to either Thunderbird or Postbox 3 to try and solve my problem. I prefer to stay with Mail. I should note also that I am using MailTags with Mail (http://www.indev.ca/MailTags.html), although I have not used any of the features. I upgraded to ML from SL about 2 weeks ago. It was very smooth and there appear to be no issues (not sure how helpful this is and probably not at all related to this issue).
    Any suggestions much appreciated!

    Maybe these will help:
    https://discussions.apple.com/message/17677533#17677533
    https://discussions.apple.com/message/18324129#18324129
    https://discussions.apple.com/message/18203126#18203126

  • When I share a link (URL) only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    when I "share a link" (URL) using the pulldown menu in Safari, the email goes to all addresses I indicate, but only Apple computers receive the link. Others such as PCs and Blackberries get the message, but the field which should have the link is blank. Is this normal?  Why can I only send to Apple machines?

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • How to read the messages in the JMS Queue using JMX

    Hi,
              I want to read messages in the JMS queue using JMX. I was able to read using QueueBrowser but want to modify priority of the messages using JMX.
              I tried to use JMSDestinationRuntimeMBean but it does not allow us to read messages unless we pass the message Id. Is there any way that I can get all the messages in the queue.
              I am using Weblogic 8.1 SP4
              Can someone please help me in this regard.
              Thanks,
              Kiran.
              Edited by KGudipati at 10/22/2007 1:22 AM

    Hi,
    As far as i know, JMS Object Messages is not supported by XI JMS adapter.
    you need to have the JMS provider to transform the message to bytes messages.
    (Refer to SAP note 856346)

  • I just bought a new iMac and used the Migration Assistant to transfer my files. Initially, all was working, but now a week later, I get the message that the application manager is missing, and I cannot get Photoshop and InDesign to launch. I do not want t

    I just bought a new iMac and used the Migration Assistant to transfer my files. Initially, all was working, but now a week later, I get the message that the application manager is missing, and I cannot get Photoshop and InDesign to launch. For my personal use, I did not a need to join Creative Cloud. Have you any suggestions for a work-around?

    Try to install Adobe application Manager from below link and check
    Adobe - Adobe Application Manager : For Macintosh : Adobe Application Manager : Thank You

  • I have been trying to download Firefix 4, and eveytime I try to install it on my computer I get the message that the file is corrupt

    I am using an iBook running OS 10.3.9 - and each time I have tried to launch the download so I can install it on my hard drive I get the message that the file is corrupt and so it won't complete the operation.

    It sounds like you must have Automatic Downloads enabled on the Phone in Settings>iTunes & App Store>Automatic Downloads>Apps>On. That is why the apps are being downloaded to the phone, I would have to assume. You could try turning that off on your phone for starters. Although I don't think that would have any effect on the iPad, it won't hurt anything either.
    Try this and see if the apps show up on the iPad.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I get the message - "Sorry, the opearation could not be completed because a

    i'm trying to transfer some files from my hard drive to my external drive. one is 37GB and one is 81GB i've tried moving them separatly onto my external drive which has 785 GB free.
    I get the message - "Sorry, the opearation could not be completed because an unexpected error occurred.
    (Error code 0)"
    any ideas on what to do here?
    thanks

    Get a new external case. Or avoid those WD MyBook and other 'name brand.'
    Tried a reformat/erase of the external?
    Is it GUID and HFS+ or as it was shipped which may have been formatted for Windows (MBR) and FAT.
    After erasing and insuring it is initialized, maybe Disk Warrior or scan for bad blocks. Or a bad cable even. LaCie drives have a host of problems that seem to affect theirs specifically, power adapters and more.

  • I am using InDesign CC and added Garamond premier pro font. This has worked for months, now suddenly my entire book is  highlighted in pink and my font is missing! I get the message that the font is currently unavailable on my computer, how can i get it b

    I am using InDesign CC and added Garamond premier pro font. This has worked for months, now suddenly my entire book is  highlighted in pink and my font is missing! I get the message that the font is currently unavailable on my computer, how can i get it back?

    BlazingRiver wrote:
    So my computer is running on OSX but my question is if any of the viruses on my windows partition can still run and communicate information to their 'master' as there is still a supply of electricity? Sorry if its obvious.
    Here's a positive thing: Windows viruses can't run on OS X, but they can be transferred from OS X to other PCs (only if you have them on the OS X volume).
    BlazingRiver wrote:
    1. How could a trusted source e.g. Google and Steam contain viruses if they are downloaded from the original source? and
    You could get a virus from a different source that infected Steam and Chrome without any problem. Viruses normally try to infect as many files and programmes as possible.
    BlazingRiver wrote:
    2. Can iOS devices get viruses and I know this is probably in the wrong but 3. What anti-virus scanner and remover tool do you recommend for windows. The only one I am familiar with is Kaspersky?
    iPhones, iPads and iPods touch can't get viruses but they can transfer them to other PCs. For Windows, I recommend Microsoft Security Essentials

  • I cannot get Bridge to open - I get the message that "the operation could not be completed"

    I cannot get Bridge to open in my new CS5 Suite - I get the message that "the operation could not be completed."  Photoshop comes up fine, but no Bridge.  I have a MacBook Pro.  Thanks.

    I am having the same issue.
    MacBook Pro, OSX 10.6.4
    Photoshop CS5, Bridge CS5
    It will not open, I have reinstalled, cleared the cache, & reset preferences, + installed the patch.
    I do have Bridge CS3 that came with my PS Elements, & that works. Do not have any Norton, or other software running.

  • Dequeue with OCCI does not remove the message from the queue

    Hey there,
    I have this problem where no matter what dequeue option I try the messages never seem to be removed from the queue... I tried looking around and found only a similar un-answered question...
    Thanks in advance...
    void TryAnydataDequeue(oracle::occi::Connection * conn)
         try
              std::cout << "Dequeue Commence..." << std::endl;
              Consumer cons(conn);
              //Settings de dequeue
              cons.setCorrelationId("SPPC");
              cons.setQueueName("Anydata_queue");
              cons.setConsumerName("SNOOP");
              cons.setDequeueMode(cons.DEQ_REMOVE);
              //cons.setDequeueMode(cons.DEQ_LOCKED);
              std::cout << "Reception du message..." << std::endl;
              Message m2 = cons.receive(Message::ANYDATA);
              AnyData any(conn);
              any = m2.getAnyData();
              if(!any.isNull())
                   oracle::occi::TypeCode type = any.getType();
                   if(type == OCCI_TYPECODE_VARCHAR2)
                        std::string msg = any.getAsString();
                        std::cout << "Message Reçu: ";
                        std::cout << msg << std::endl;
                   else
                        std::cout << "Format du message invalide..." << std::endl;
                   std::cout << "Fin du message... (Press a key)" << std::endl;
              else
                   std::cout << "Message invalide..." << std::endl;
              System::String * theInput = System::Console::ReadLine();
         catch(SQLException ex)
              std::cout << "Exception: " << ex.getErrorCode() << " - " << ex.getMessage() << std::endl;
              System::String * tnput = System::Console::ReadLine();
    }

    The message from the queue will be removed when you do a commit after a successful dequeue call, depending upon your message retention settings.
    After you have done this processing and successfully performed a commit, what is the output of the following query:
    SQL> connect AQADMIN/password
    SQL> select msg_state from aq$<your_queue_table_name_goes_here> ;?
    If it is PROCESSED, check your queue retention settings.
    Additionally, make sure that the init.ora parameter AQ_TM_PROCESSES is set to a NON-ZERO value for this to happen.

  • Trying to update iphone to 5.0 and after going through the entire download, I get the message that "the Network Connection timed out".  Check my network settings.  Help!

    Trying to update iphone to 5.0 and after going through the entire download, I get the message that "the Network Connection timed out".  Check my network settings.  Help!

    I have been having this problem for many many months. I switched off my firewall and windows firewall and i am still having the same problems.
    Apple store were not helpful in anyway and im at my wits end :-(
    Any help welcome

Maybe you are looking for