Purge / recover messages on Queues

I have done a simple application that sends messages to a queue. This messages are dequeued by a MDB.
Yesterday i was testing the app and the MDB throwed an Exception in the on Message so all messages i sent stayed enqueued.
Today i have fixed the bug and when i post a new message is consumed by MDB, but the messages enqueued yesterday during the MDB error are not proccessed.
Imagine the MDB throws an Exception while gets a Database connection or try to call a webservice on a network error.
How can i make the MDB listen to old messages?
Regards

Hi - thanks for replying. I run my own imap server - it's plain vanilla dovecot. I'll look into the settings there and see what might be off, although I suspect it's an iphone issue because all other imap clients I have used work just fine.
The deleted messages are indeed moved to Trash on Server as I configured it, but they are only marked as deleted without a way to actually be purged (or filtered out when viewing).
Cheers.

Similar Messages

  • Purge JMS messages

    We have a application in weblogic 10, which uses JMS queue.
    uses Filestore
    AUTO_ACKNOWLEDGE - false
    Sometimes, we want to drain/purge the messages in the queue using external program/servlet
    how do we do it ?

    By Auto Acknowledge, are you meaning that the jms consumer uses client-ACK mode? If this is the case and the messages are pushed to the client and never got any acknowledgement from the client then I doubt you will be able to delete the messsges . The correct thing to do would be to fix the client so that it won't leave unacknowledged messages..
    You can use either the standard JMS API or JMX API for purging the messages . Here is an example using JMX:
    http://stackoverflow.com/questions/2461870/how-to-purge-delete-message-from-weblogic-jms-queue
    Edited by: atheek1 on May 26, 2010 4:24 PM

  • Problem with MacMail on MacBook Air - mail with 32MB attachment appearing in "recovered messages" folder every 12 seconds

    Problem with MacMail on MacBook Air
    3 days ago I failed to send a mail with a large (32MB) attachment - and it is no longer in my outbox, draft mails or sent file.
    BUT a copy of this same mail now appears every about 15 seconds in my "recovered messages" folder
    I noticed when I received a system error saying I had a disk almost full issue - there were over 580 copies of the mail with 32MB attachment in the "recovered messages file"
    I deleted them all, and deleted the Trash
    BUT the message still keeps re-appearing every 15 seconds or so.  So I keep deleting them.
    Since then I have not been able to receive mail (altho' I am able to send) and Mail is VERY slow
    I am running MAC OS X 10.6.8
    I am running Mail version 4.6 (1085)

    Also here's the log before it happened. As you can see there is no activity from 9:48 to 10:00 am when the sound occurred.
    23/02/2014 9:48:12.792 am ntpd[52]: FREQ state ignoring -0.145411 s
    23/02/2014 9:48:15.258 am WindowServer[96]: _CGXHWCaptureWindowList: No capable active display found.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000280
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319378: AirPort_Brcm43xx::powerChange: System Sleep
    23/02/2014 9:48:20.000 am kernel[0]: ARPT: 61.319390: wl0: powerChange: *** BONJOUR/MDNS OFFLOADS ARE NOT RUNNING.
    23/02/2014 9:48:20.000 am kernel[0]: AppleCamIn::systemWakeCall - messageType = 0xE0000340
    23/02/2014 10:00:04.000 am bootlog[0]: BOOT_TIME 1393167604 0
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.appstore" claims selected messages.
    Those messages may not appear in standard system log files or in the ASL database.
    23/02/2014 10:00:06.000 am syslogd[17]: Configuration Notice:
    ASL Module "com.apple.authd" sharing output destination "/var/log/system.log" with ASL Module "com.apple.asl".
    Output parameters from ASL Module "com.apple.asl" override any specified in ASL Module "com.apple.authd".

  • In Mail, one mailbox for Recovered Message (AOL) keeps showing 1 very large message that I cannot delete. How can I get rid of this recurring problem, please?

    In Mail on iMac, successfully running OS X Lion, one mailbox on My Mac for "Recovered Messages (from AOL)" keeps showing 1 very large message (more than 20 Mb) that I just cannot seem to delete. Each time I go into my In Box, the "loading" symbol spins and the message appears in the "Recovered Messages" mailbox. How can I get rid of this recurrent file, please?
    At the same time, I'm not receviving any new mails in my In Box, although, if I look at the same account on my MacBook Pro, I can indeed see the incoming mails (but on that machine I do not have the "recovery" problem).
    The help of a clear-thinking Apple fan would be greatly appreciated.
    Many thanks.
    From Ian in Paris, France

    Ian
    I worked it out.
    Unhide your hidden files ( I used a widget from http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html)
    Go to your HD.
    Go to Users.
    Go to your House (home)
    there should be a hidden Library folder there (it will be transparent)
    Go to Mail in this folder
    The next folder ( for me ) is V2
    Click on that and the next one will be a whole list of your mail servers, and one folder called Mailboxes
    Click on that and there should be a folder called recovered messages (server) . mbox
    Click on that there a random numbered/lettered folder -> data
    In that data folder is a list of random numbered folders (i.e a folder called 2, one called 9 etc) and in EACH of these, another numbered folder, and then a folder called messages.
    In the messages folder delete all of the ebmx (I think that's what they were from memory, sorry I forgot as I already deleted my trash after my golden moment).
    This was GOLDEN for me. Reason being, when I went to delete my "recovered file" in mail, it would give me an error message " cannot delete 2500 files". I knew it was only 1 file so this was weird. Why 2500 files? Because if you click on the ebmx files like I did, hey presto, it turned out that they were ALL THE SAME MESSAGE = 2500 times. In each of those folders in the random numbers, in their related message folder.
    Now remember - DONT delete the folder, make sure you have gone to the message folder, found all those pesky ebmx files and deleted THOSE, not the folder.
    It worked for me. No restarting or anything. And recovered file. GONE.
    Started receiving and syncing mail again. Woohoo.
    Best wishes.

  • Issue while posting message to queue

    Hi ,
    I am getting following exception while posting message into queue.For every new build I am getting this exception and after 2 or 3 times of restart of corresponding OBPM related weblogic server,Issue is getting resolved
    A component failed while executing activity '/COM/OU/UserlProcess#Default-3.0/ComponentExecution[PreProcessor]' (BP-method preProcessor) over instance '/COM/OU/UserlProcess#Default-3.0/15141/0'.
    Details:
    The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Caused by: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Caused by: Connector [MAIN_Q:null:JMS] returned the wrong class [com.tibco.tibjms.naming.TibjmsConnectionFactoryAttributes] for a resource of type [2].
    Detail:Connector [MAIN_Q:null:JMS] returned the wrong class [com.tibco.tibjms.naming.TibjmsConnectionFactoryAttributes] for a resource of type [2].
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1091)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1277)
         at fuego.server.execution.microactivity.ComponentExecutionMicroActivity.runCil(ComponentExecutionMicroActivity.java:126)
         at fuego.server.execution.microactivity.ComponentExecutionMicroActivity.execute(ComponentExecutionMicroActivity.java:84)
         at fuego.server.execution.microactivity.MicroActivityEngineExecutionHandler.executeActivity(MicroActivityEngineExecutionHandler.java:57)
         at fuego.server.execution.ImmediateActivity.execute(ImmediateActivity.java:42)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
    at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.DefaultEngineExecution.executeAutomaticWork(DefaultEngineExecution.java:62)
         at fuego.server.execution.EngineExecution.executeAutomaticWork(EngineExecution.java:42)
         at fuego.server.execution.ToDoItem.executeAutomaticWork(ToDoItem.java:251)
         at fuego.ejbengine.ItemExecutionBean$1.execute(ItemExecutionBean.java:217)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:203)
         at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:115)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4123)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4013)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4541)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: fuego.connector.ConnectorException: Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    Detail:Connector [MAIN_Q:null:JMS] caused an exception when getting a resource of type [7].
    at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:95)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:324)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
         at fuego.connector.JMSHelper.getSession(JMSHelper.java:75)
         at fuegoblock.msg.DynamicJMS.sendMessage(DynamicJMS.java:145)
         at xobject.Utility.JMSService.writeToAppQueue(JMSService.xcdl:11)
         at xobject.Utility.Notification.sendAuditNotification(Notification.xcdl:19)
         at XXX.ManualProcess.Default_3_0.Instance.CIL_preProcessor(Instance.xcdl:20)
         at XXX.ManualProcess.Default_3_0.Instance.CIL_preProcessor(Instance.xcdl)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1082)
         ... 31 more
    Please help how can I resolve this issue
    Thanks
    Sailendra

    I am also getting the same issue. Sailendra, did you resolve the issue?
    If not could anyone help us to resolve this issue.
    I am using Tibco JMS for queue and I have set 'ConnectionFactory' as Connection Factory Lookup Name value in the external resourse.
    Thanks in advance.
    Regards,
    Ramanan

  • NOT PRINTING FROM WINDOWS 7 TO MY PHOTOSMART c7180 ALL-IN-ONE (I CAN SEE MESSAGES IN QUEUE)?

    CANNOT PRINTING FROM WINDOWS 7 TO MY PHOTOSMART c7180 ALL-IN-ONE (I CAN SEE MESSAGES IN QUEUE)?

    Hi,
    I think you need to remove the queue. Please try:
        hold down the Windows key and press R.
        from the Run window, type services.msc and hit enter.
        if the machine asks for Admin you have to accept this,
        look down to the print spooler service, right click it and select properties
        click on the Stop button,
        browse to C:\Windows\System32\Spool\printers
        delete the job inside this folder
        reboot the machine
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Configure Monitoring of a MSMQ private queue Messages in Queue counter

    Hi
    I have a workgroup server that is not part of my local domain.
    I have contented the server to my local SCOM 2012 R2 server and it is working fine.
    My SCOM server has MSMQ 6.0 & 6.3  MP's installed.
    On the remote servers I have some MSMQ 6.0 private queues.
    When I am trying to monitor one counter in 1 queue , when the threshold is reached I am getting error message on al the queues.
    On the performance counter tab I have :
    Object: MSMQ Queue
    Counter : Messages In Queue
    Instance :[server name'\private$\error
    There were 1207 messages in this queue .
    I Got about 30 messages and error on all queues.
    What did I do wrong ?
    Itamar
    Itamar

    Hi
    This is the alert email I got :
    Alert: Notification Queue
    Source: maasw1\private$\maas.backend.scheduler.timeoutsdispatcher
    Path: MAASW1.xxx.com
    Last modified by: System
    Last modified time: 2/18/2014 2:45:49 PM Alert description: Instance Computer Queues
    Object MSMQ Queue
    Counter Messages in Queue
    Has a value 19
    At time 2014-02-18T14:45:35.0000000+02:00
    I did not place a monitor on this queue but on 2 other queues.
    one with threshold of 500 and on with 1 .
    I have made some change in the monitor and will test it now.
    Thanks
    Itamar 
    Itamar

  • Get information about Subscribed Consumer and messages in queue

    Hi,
    I use a library that allow to set a set of consumers. They read messages I send. I check if the consumers are subscribed through "Open Message Queue Administration Console". Through Broker->Destinations I found the consumer under the correct destination I find the consumers with the message in queue, state and other information. I would like to obtain these information programmatically.
    Could someone link me an example?
    Thanks, bye bye.

    Hi,
    I'm reading the page but I cannot find the jar file that contains this package:
    import com.sun.messaging.jms.management.server
    and the classes:
    -MQObjectName
    -DestinationAttributes
    -DestinationType
    What is the jar file for the class above?
    Moreover, I cannot find the class:com/sun/messaging/jmq/management/JMXMQAddress
    when I try to use the code I wrote I receive this error:
    >
    java.lang.NoClassDefFoundError: com/sun/messaging/jmq/management/JMXMQAddress
         at com.sun.messaging.AdminConnectionFactory.getJMXServiceURL(AdminConnectionFactory.java:257)
         at com.sun.messaging.AdminConnectionFactory.createConnection(AdminConnectionFactory.java:207)
         at testcase.eventManager.DPCTRMSEVENTMANAGER.message(DPCTRMSEVENTMANAGER.java:123)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jmq.management.JMXMQAddress
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         ... 23 more
    Where can I found this class?
    Thanks, bye bye.
    Edited by: PiotreUgrumov on May 13, 2010 8:29 AM

  • Net.Msmq Binding Not Picking Up Messages in Queue as soon as the application pool gets recycled

    Hi,
    We are trying to implement a wcf service that exposes a net.msmq endpoint.  We are running windows server 2008 R2/IIS 7.5 running on a DOMAIN mode.
    1. Our service is called service.svc and it is deployed under an application called Test in the default website (application pool running under network service)
    2. The url to reach the service webpage is http://machinename/Test/service.svc.
    3. We created a private queue called Test/service.svc and we configured permissions for network service to full control.
    Now, when the application pool is "alive" the service picks up the messages correctly, but as soon as the application pool gets recycled (because of timeout or any other reason), the service stops picking up the messages, that just sit in the queue until the service starts again by browsing to the service webpage (http://machinename/Test/service.svc)
    I know this is a popular question, but I already tried several solutions with no luck (for example, we triedhttp://keithelder.net/blog/archive/2009/06/03/fix-for-wcf-netmsmqbinding-not-picking-up-messages-in-queue.aspx,http://www.codewrecks.com/blog/index.php/2009/03/17/hosting-a-wcf-service-based-on-msmq-in-iis7/,http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/a1df55c4-e642-442a-9057-f0aec278d10c/ and other ones)
    Any Help?
    If this post is helpful, please mark it as such
    Alessandro Cardoso
    MVP | Microsoft Heroes | MCT
    blog: http://itaustralia.spaces.live.com
    http://cardosoalessandro.spaces.live.com

    Hi Steven,
    I am Alessandro's colleague, I am working with him on these net.msmq issues. 
    Our configuration includes a transactional queue called Test/Service.svc (unauthenticated,
    we shut down all security for the moment...does it matter?) and these attributes on the service:
    [ServiceContract]
    public interface IService
    [OperationContract(IsOneWay=true)]
    void ProcessMyMessage(MyClass parameter);
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, TransactionIsolationLevel = IsolationLevel.Serializable, TransactionTimeout = "00:03:00")]
    public class Service: IService
    [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
    public void ProcessMyMessage(MyClass parameter)
    //Do some stuff here
    The service is hosted on IIS 7.5 under an application called Test (so that the full http address of the service is http://machine/Test/Service.svc).
    In the configuration (for both client and service) we specified None for the security mode, "true" value in durable and exactlyOnce
    The Net.msmq Listener Adapter windows service is running fine under the Network Service account (the same as our application pool)
    Is there something we are missing?
    Also, can you explain how a transaction not configured properly can create this behaviour? In my understanding the process of delivering a message happens in 3 steps (I remember a nice picture of this the Juval Lowy book):
    1) Transaction 1: client delivers message to local instance of msmq. The transaction rolls back if the message does not get delivered.
    2) Transaction 2: the local instance of msmq delivers the message to the remote (service) instance of msmq. The transaction rolls back if the message does not get delivered.
    3) Transaction 3: wcf activates my service which picks up the message and process it. The transaction rolls back if the service fails to pick up the message or does not complete the transaction (for example, because of an unhandled exception).
    The message gets delivered to the service machine successfully, so I am assuming that steps 1 and 2 are executed correctly. If my service was not configured to handle transaction properly, wcf should still activate it and do something with it. Or at least,
    if it doesn't get activated at all, this should be the case even when the application pool is well alive and awake, because it should be a configuration problem. Instead, the service works great if the appPool is alive and it never gets activated when the
    appPool is sleeping (absolute nothing in the .svclog trace file generated by the service). Am I saying something wrong?

  • Drop messages in queue that have a blank sender

    I'm getting hundreds of messages in the Queue where the From Address is < >. 
    Do I just let these build up or is there a setting somewhere that would just drop the message if it has a blank sender?
    Here is an example of one that I've received;
    Identity: Pebbles\512\21474838371
    Subject: Undeliverable: MUST READ: Vehicle's Below Kelly-Blue-Book*
    Internet Message ID: <[email protected]>
    From Address: <>
    Status: Ready
    Size (KB): 10
    Message Source Name: DSN
    Source IP: 255.255.255.255
    SCL: -1
    Date Received: 5/27/2014 11:51:09 AM
    Expiration Time: 5/29/2014 11:51:09 AM
    Last Error: 400 4.4.7 Message delayed
    Queue ID: Pebbles\512
    Recipients:  [email protected];2;2;[{LRT=};{LED=400 4.4.7 Message delayed};{FQDN=};{IP=}];0;CN=outbound,CN=Connections,CN=Exchange Routing Group (DWBGZMFD01QNBJR),CN=Routing Groups,CN=Exchange Administrative Group (FYDIBOHF23SPDLT)....
    1 email server in domain; Exchange 2013 sp1/Win2012 Standard
    PennyM

    On Exchange 2010 you have antispam agents that can help you discard such messages.
    Sender filtering has a check box called drop messages with blank senders select that and restart the transport service on the servers to get that updated quickly.
    In 2013 server, you have sender filtering as well.

  • Prosecced messages in queue

    Hello!
    Came across puzzle when do dequeue messages:
    We want to dequeue all messages for particular consumer.
    We do dequeue with no_wait, first_message, consumer_name.
    It works all right.
    All messages for specified consumer is dequeued.
    Immediately querying view AQ$QUEUE_T_QUEUE_x - we can see that dequeued messages are in 'PROCESSED' status
    and in 'READY' status in table QUEUE_T_QUEUE_x.
    Wait some Time - query view/table again - and we dont see them any more in the queue.
    Queue retention is set to 25 hours. So messages deleted from queue much more fast.
    The main question is - what does the
    Time between message is in 'PROCESSED' state after dequeue
    and
    time it disappears from queue
    depend on?
    We see different Time on different instances.
    AQ_TM_PROCESSES=10
    We guess that may be it's Queue Monitor that responsible for that?
    Does anybody know what is going on and how to control it?
    Any help is appreciated!
    Thanks in advance!

    Hi maha,
    Yes, queue monitor has responsible for post-process of dequeued messages in queue table.
    In 10gR2, Queue Monitor processes deqeueud messages every 30 seconds.
    If queue retention time are already expired when a queue monitor checks qtable, then a Queue Monitor removes messages from qtable. Otherwise, Queue Monitor update "deq_time" column in qtable. (deq_timestamp column in view is differ from deq_time in qtable.)
    However, I don't know why your messages are removed from qtables even though you set queue retention to 25 hours. And I have no idea to control Queue Monitor cycle, behavior, and so on,

  • JMS adapter transaction. Rollback message to queue.

    Hi all !
    A have question about jms adapter transaction. My composite application has 3 steps : JMS adapter (listener), mediator, WS adapter. JMS adapter listen queue push message to mediator, mediator invoke web service. If ws not available (server down), mediator try recovery 5 times. After 5 times, reject message from queue. I wont rollback message to queue. I saw examples with JMS + BPEL, but it not help me. Anybody can help me.

    Hi,
    You don’t need to catch a mediator fault – you can let it rollback to the JMS Queue and let the Queue do the retries.
    To get the retries working, log in to the weblogic console and navigate to JMS Modules -> Your Module -> Your Queue -> Configuration -> Delivery Failure
    Here you will find options for Redelivery Limit. Set this to the number of retries you need.
    Then navigate to the connection factory you want and set the redelivery delay.
    This should get your desired behaviour, but once the message has failed it will be discarded. If you prefer to put it on an error queue you can create an error queue, and in the original queue’s, goto Delivery Failure, change the expireation policy and set the Error Destination to be your error queue.
    Hope that helps!
    Robert

  • How-to end endless "recovered messages" in Mail?

    I tried to send an email with PDF attachment using Mail (v.4.5) and my Gmail-IMAP account. No problems before. There was a slow connection and the message didn't send so I cancelled and later deleted the message. I thought I'd use Dropbox instead. But then that deleted message came back to haunt me, over and over and over. It won't stop filling up the "Recovered Messages" folder in Mail - along with the attachment.
    I've re-booted, used Disk Utility to repair permissions, zapped PRAM, got rid of the .plist, rebuilt the mailbox. I can't think of anything else to try.
    How can I end this once and for all?

    I posted a very similar question.  The answers I received here did not help.  For anyone else looking, here is the solution that finally worked. My son found it via a Google search. While the answer refers to a gmail account, it works for others as well. I do not use gmail. The answer is copied and pasted in full to give credit where credit is due. While I am posting this, I didn't come up with it on my own:
    Best answer - Sarah (Google Employee) Go to this answer
    chessop
    Please follow below steps.
    1.Take your gmail account offline from Mail and delete the recovered messages folder.
    2. Download the widget to show the hidden files fromhttp://www.apple.com/downloads/dashboard/developer/hiddenfiles.html
    3. Go to UserName/Library/Mail/IMAP-<username>@[email protected]/.OfflineCache
    4. Delete all the data under .OfflineCache folder - DO NOT DELETE the folder.
    5. Close Mail application and reopen.
    This should do the job.
    Best regards,
    Aadi

  • How to eliminate 'recovered messages" in I-Mail

    How does one get rid of the "Recovered Messages" and/or the folders on "ON MY MAC?"  It is the same message that has been replicated over and over.  The message did contain large files attached to the original message.
    Thank you,
    Raymond from *******, GA

    Is this happening to all emails from, say sender A? Or are you still receiving emails from sender A, but not in the same "convo"?
    I am just wondering if sender A is sending you email that has "no subject", thus Apple Mail thinks it's apart of a convo. Therefore it'll group them into a "convo".
    KOT

  • How to send message to Queue using JMS

    Hai Friends,
    I have written one program, which sends one seriablizable object to the queue. At
    queuesender.send(objectmessage) statement
    i am getting the following exception, but message is going to queue. The next statement is not executing. Next statements is simple debug statement.
    i.e.,System.out.println("Message has been send");
    why this is not working let me know plzz
    HERE is EXception
    <May 15, 2006 11:02:46 AM IST> <Alert> <JMS> <BEA-040049> <JMSServer "cgJMSServer" store failure occurred while writing message for queue ACMQueue, java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: flush failed
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequest(...).

    Hai Friends,
    Previously i didn't give full stack trace. now i am sending the exact stack trace and little bit code. Plz help me
    CaseQuerySearchResult cqsr = new CaseQuerySearchResult();
    ObjectMessage obj = qsession.createObjectMessage();
    while(rs.next())
         // I am getting 10 fields from DB and setting those values like the following,
         cqsr.children.setLoan(rs.getString(1));
    obj.setObject(cqsr);
    qconnection.start();
    System.out.println("----B4 qsender----");
    qsender.send(obj);
    System.out.println("----After qsender----");
    <May 15, 2006 12:05:47 PM IST> <Alert> <JMS> <BEA-040095> <JMSServer "cgJMSServer". Store I/O failure, java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: ping failed, database not responding
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
    at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Unknown Source)
    at com.pointbase.net.netJDBCConnection.setAutoCommit(Unknown Source)
    at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(PoolConnection.java:141)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2205)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2287)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: ping failed, database not responding
    java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix = <weblogic>: SQL exception
    java.sql.SQLException: Connection failure. sendMethodRequestNoFlush(...).
    at com.pointbase.dbexcp.dbexcpException.getSQLException(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestPrivate(Unknown Source)
    at com.pointbase.net.netJDBCPrimitives.sendMethodRequestByID(Unknown Source)
    at com.pointbase.net.netJDBCConnection.setAutoCommit(Unknown Source)
    at weblogic.jdbc.wrapper.PoolConnection.setAutoCommit(PoolConnection.java:141)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2205)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.opendb(JDBCIOStream.java:2287)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1286)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:498)
    at weblogic.jms.store.JDBCIOStream.ping(JDBCIOStream.java:1318)
    at weblogic.jms.store.StoreRequest.doTheIO(StoreRequest.java:355)
    at weblogic.jms.store.JMSStore.execute(JMSStore.java:493)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Maybe you are looking for

  • PL/SQL function. ORA-00933: SQL command not properly ended

    This is my first attempt at pl/sql functions with dynamic sql. It will compile, but when I try to test it I get the ORA-00933 error at line 147. line 147 is OPEN retval FOR report_query; Please take a look and let me know what it wrong! thanks {CREAT

  • Transparent Tables Error

    Dear all experts, I have created two trans. table. 1. ZSD_CC 2. ZSD_CC_DEPT. Now while declaring this tables in my TOP include with TABLES: statement ZSD_CC_DEPT is not showing any error. but while declaring ZSD_CC table system shows me some error ""

  • Do I must reboot my System?

    My development environment is - Model - Apap - UI       - Webdynpro for java Do I must reboot my System to apply Apap fild that is modified or inserted something? Now I'm, every time, reboot my system after reimport Apap model. Reboot needs too much

  • Photoshop CS6 UNWORKABLE on Mavericks!

    Hello fellow "apples" I've a late 2012 Macbook Pro (non retina) with 2,6 GHz i7 8GB Ram and 750HDD Since i've updated the OS to mavericks yesterday I've been struggling with photoshop CS6, it can work just fine for a minute to completely freeze for a

  • Can CS6 Extended be installed on a computer without unistalling PSE 9?

    I currently use PSE 9 and Premiere Elements 9 to process my photos and videos. I want to keep  PSE 9 and Premiere Elements 9 on my computer while I learn CS6 Extended.  Can the two versions be installed on the same computer?