Stopping task in the progress in queue

Hi
I have MDB where I start process of sending mails. I have a list of emails in file, and remove one after another. Now I'd like to add function of stopping this task. I've added a check of STATUS attribute in the file. So, when task will see that status is STOPPED should leave sending mails function. The problem is that message with request of stop (it invokes method that changes status in xml file) goes to end of the queue (which is quite logical...).
Could anybody give me a hint what to do? This is JBoss' MDB with Queue destination.
Thanks in advance,
Michal

You may try to use selectors. This way you should be able to select a certain message only.

Similar Messages

  • If for some reason u have the icon in your task bar (the one with 2 arrows pointing in a circle) just go into mobile me pref...click sync...and uncheck box show status in menu bar.  My question is, I do not have this option. How do I get the sync to stop

    "if for some reason u have the icon in your task bar (the one with 2 arrows pointing in a circle) just go into mobile me pref...click sync...and uncheck box show status in menu bar."
    I do not have the option box to "show status in menu bar"
    I tried the free for a little while Mobile me, and didn't use it, so cancled. I cannot get the sync status roundabout arrows out of my status bar. AND, they keep trying to sync.
    Another issue related with this is that during the time that I tried out Mobile me, I had my ical alarm set to go off every 2 hours. NOW my computer has an ical  pop-up every 2 hours. I cannot find how to stop it.
    Another issue, Yahoo is trying to sync with my computer and I have no idea why or where that one came from.
    Can anyone out there help me please. 

    "if for some reason u have the icon in your task bar (the one with 2 arrows pointing in a circle) just go into mobile me pref...click sync...and uncheck box show status in menu bar."
    I do not have the option box to "show status in menu bar"
    I tried the free for a little while Mobile me, and didn't use it, so cancled. I cannot get the sync status roundabout arrows out of my status bar. AND, they keep trying to sync.
    Another issue related with this is that during the time that I tried out Mobile me, I had my ical alarm set to go off every 2 hours. NOW my computer has an ical  pop-up every 2 hours. I cannot find how to stop it.
    Another issue, Yahoo is trying to sync with my computer and I have no idea why or where that one came from.
    Can anyone out there help me please. 

  • TS2570 On start up of my new iMac it locks on the grey screen with the apple logo and the progress wheel spins. Boot up in safe and this is where it stopped at "BootCacheControl: Unable to open /var/db/bootcache.playlist: 2 no such file or directory. "

    On start up of my new iMac it locks on the grey screen with the apple logo and the progress wheel spins. Boot up in safe and this is where it stopped at "BootCacheControl: Unable to open /var/db/bootcache.playlist: 2 no such file or directory. "

    Reinstalling MacOS does NOT fix the problem for me.  I'm still searching a solution !
    Bernard

  • Unable to view the NEW or In progress tasks in the Universal Worklist

    Hi all,
    I am using EP 7.0 SP8 and backend R/3 4.6C. I  configured by Worklist and work items to my UWL with the backend .My Problem is I am unable to view the New OR  in Progress Tasks in the UWL but  i am able to view the completed tasks in the UWL.
    Is the Problem with the backend R/3 version or some thing else?
    Please help me..
    Thanks and Regards,
    Sateesh.

    Seems to be lack of memory issue. Try to increase RAM of the development machine and try again.
    Nith

  • Urgent : MDB stops listening to the queues after some time  !!!

    Hi,
    I am using OJMS with OC4J 10.1.2 and db 9.2.0.5. I have a web application which send messages into the queue very frequently.
    But the problem is the MDBs stop listening to the queues after some time (1-2 days) and no more messages will be dequeued from that point.
    All these messages will move to the exception queue after their expiry.
    But the dequeing agains resumes after restarting the OC4J !.
    I guess, at some point mdbs are either becoming busy (locked ) or some exception occured while dequeing, hence they stop listening to the queues.
    Please throw some light on this issue as it is very crucial in my project.
    Regards
    Prashanth

    I've noticed this lately as well, with my iPhone 4. I couldn't confidently pin it directly on any particular iOS update, but my iPhone used to automatically connect up via Bluetooth with my Prius's handsfree feature, and now it doesn't. I work with a CE-based device at my job, with Bluetooth capability, and I used to test out that feature by having it discover my iPhone. This no longer works either.
    What I have found (not really a solution, but it does work and may be a clue for Apple) is that if I simply go to the Settings app then the General -> Bluetooth screen and let it sit there, it will pair right up with my car within a few seconds. Bluetooth is always on, and always says "Now Discoverable" at the bottom of the settings screen.

  • I am unable to download itunes software for windows 7.  The progress bar stops at around 80% and goes no further?

    I am unable to download itunes software onto my PC windows 7.  the progress bar stops at around 80%.  If my security (Spyware is blocking it then I don't know how to 'temporarily' disable it, or then get it back?

    I've been unable to research a reason its trying to go to a directory that does not exist.  It leaves me with out any way to sinc tunes onto my iPod.

  • Hello, my name is Todd, I recently dowloaded PS CC 2014. I have used PS for decades. The crop tool will show the progress bar, then at about 25% it will totally stop. What can I do? Thanks

    Hello, my name is Todd, I recently dowloaded PS CC 2014. I have used PS for decades. The crop tool will show the progress bar, then at about 25% it will totally stop, even on VERY small 72dpi images. What can I do? Thanks!

    Double check all the settings in the crop tool, and make sure you aren't telling it to create a HUGE image as a result of your settings.

  • HT4997 I am trying to export a 6.5 minute video from imovie to my camera roll on my iPad Mini. However the progress bar stops halfway through. Any advice would be very much appreciated, many thanks.

    I am trying to export a 6.5 minute video from imovie to my camera roll on my iPad Mini. However the progress bar stops halfway through. Any advice would be very much appreciated, many thanks.

    I am trying to export a 6.5 minute video from imovie to my camera roll on my iPad Mini. However the progress bar stops halfway through. Any advice would be very much appreciated, many thanks.

  • ITunes stops at the progress of "backing up"

    When I plug in my Iphone, the ITunes stops at the progress of "backing up"
    I can't transfer any music to my IPhone right now.

    I am experiencing this issue as well on 7.0.1.8. It occurs at the end of the last item of any given set of things playing, i.e. playlist, album, podcast, etc. It has nothing to do with crossfade, checked/unchecked or anything else but the song's position at the end of the set.
    Beyond being a little weird, kind of annoying, and not incrementing the play count, I think it's the root cause of an actual problem I am noticing. My podcast settings include the option to "keep all UNPLAYED episodes". In prior versions if I listened to a podcast all the way to the end it would get deleted the next time new episodes were checked for. Now, in this version, there is nothing I can do to get iTunes to automatically clean up the podcasts I'm done with. Manually deleting them is fine, but it's impossible to look at the list and remember which ones I finished and which ones I'm in the middle of listening to. It's also just a bummer that something that used to work nicely now doesn't function quite as cleanly.
    Intel Core 2 Duo 6400; 2GB Corsair TWIN2X2048-6400C4; Asus P5B Deluxe WiFi; GeForce 7950GT 512MB   Windows XP Pro   20GB 3rd Gen iPod

  • Frequently, when using firefox, it stops browsing. It will say in the progress bar on the left "Stopped" and I can't browse. What is the problem?

    Frequently, when using firefox, it stops browsing. It will say in the progress bar on the left "Stopped" and I can't browse. What is the problem?

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Lightroom mobile syncing is super slow and stop for no reason. cannot resume syncing. no idea with the progress of syncing. cannot sync the original file from mobile into desktop.

    lightroom mobile syncing is super slow and stop for no reason. cannot resume syncing. no idea with the progress of syncing. cannot sync the original file from mobile into desktop. stuck and cannot process any further.

    Hi. Did you trigger a delete data via LR preferences ->Lightroom mobile.
    I'm not seeing a catalog connected to your account.
    Did you import originals via the connection-kit?
    Thanks
    Guido

  • HT201263 my iphone 3g Stops responding, showing the Apple logo with no progress bar or a stopped progress bar, for over ten minutes ..plz give me suggusition ?

    Stops responding, showing the Apple logo with no progress bar or a stopped progress bar, for over ten minutes

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • TS1362 I have a Mac Pro tower, am running osx and iTunes will not work.. It basically just stopped working after having run faultlessly for...years... I can see all the songs, playlists etc, but the progress bar will not progress..it's 'stuck'. Suggestion

    I have a Mac Pro tower am running OSX and iTunes will not work. It has always worked flawlessly. I can see all my iTunes content- my playlists, my songs et cetera, But I cannot play anything. The progress bar is  'stuck'...any suggestions?

    Thanks. I have been using iTunes since its inception and have never had a problem...I'm using the latest version. The progress bar is the bar that moves when you're playing a song..it just won't start when I double click on a song,..have tried quitting, rebooting etc but nothing works. Apple are useless-they have told me twice they've tried to call me 'momentarily', but I've been waiting by the phone, and they definitely have not tried to call...

  • How do stop the progress bar disappearing during sync?

    When I'm syncing my iPod Classic to my iTunes I will see a progress bar at the top of iTunes showing how far it has progressed and text letting me know which track of how many I'm on.  But this information will only appear for a second or two before being replaced by the text: "Synching iPod Do Not Disconnect".  The warning will remain visible for aproximately two minutes.  How do I change it so that the progress bar remains visible constantly and the warning does not appear?  Failing that how do I change it so that the information I wish to see remains on screen longer and the warning appears only briefly?

    Press the escape (esc) key to exit full-screen mode.

  • When I try to format an external usb drive  the progress bar only goes half way then freezes up can anybody help please

    When I try to format an external usb drive  the progress bar gets to half way then freezes , or stops and  what ever time I allow it never gets any futher on , I have to go to the task bar and click quit  to get on  and the usb drive is not formatted  is there a fault with my disk utility program  I have updated the system
    to lion 10.7.2
    Can anybody advise please

    Are these new external drives? How are the currently formatted? Have you tried doing this:
    Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    Steps 4-6 are optional but should be used on a drive that has never been formatted before, if the format type is not Mac OS Extended, if the partition scheme has been changed, or if a different operating system (not OS X) has been installed on the drive.

Maybe you are looking for