Blocking message notification for certain period of time

Hi,
          We have a situation that requires that we do not process any messages even though they are messages sitting in the queue during certain period. Is there any programming API (I guess JMX based) where in weblogic JMS server can be notified to not to send messages until the block is lifted.
          We are using weblogic 8.1 JMS implementation.
          Thanks
          Sushil

I have not done this blocking programmatically.
          But blocking is configurable on the console at JMS Connection Factories -> Flow Control tab -> Send timeout. This blocking policy is configurable on the console at JMS Server -> Thresholds & Quotas tab -> Blocking Send Policy. Default value is 10ms. Change it to required time limit.

Similar Messages

  • How can I set my phone to delete messages after a certain period of time? 6 months, 1 year??? It is taking up over 4GB on my phone.  I don't want to delete everything just the oldest ones.

    How can I set my phone to delete messages after a certain period of time? 6 months, 1 year??? It is taking up over 4GB on my phone.  I don't want to delete everything just the oldest ones.

    If you update to iOS 8, you can select that in Settings>Messages>Keep Message and then select your option. If you don't update to iOS 8, you'll need to do it manually.

  • How to block internet connection for a period of time?

    Hey guys is there a way to block internet connection via a lan connection for a period of time? A program that when my pc is boot up it run secretly and at the time schedule it block the internet connection with no pop up. When i not at home some person
    used my pc to use my internet connection everyday. I can't lock up my pc since my brother or my dad used it.
     

    Hi,
    You could create a schedule task to achieve this.
    The detailed solution please refer to this thread:
    https://social.technet.microsoft.com/Forums/en-US/7544cbed-507d-4eef-907d-bafb99b45411/disable-internet-for-a-set-period-of-time?forum=w7itprogeneral
    Karen Hu
    TechNet Community Support

  • Holding readings for certain period of time

    LabVIEW beginner here. I'm logging particle count data generated every second from two identical instruments, one upstream of a substrate and the other downstream; they are labelled alpha and beta respectively in the attached VI. The counts plus penetration (beta/alpha) are written to measurement file once a second accordingly. This works fine so far but I need to correct for the aerosol transit time (=10 seconds) between the two instruments, so that the alpha reading at t=0 is paired with the beta reading at t=10s. How do I hold/delay the alpha reading for this time?
    Attachments:
    sdp34_log_penetration_data.vi ‏169 KB

    Ok attached a slight upgrade with a 10 element circular buffer.  This presumes that your meas. data is being taken once a sec, and that is fine.  There is a case statement that tells you when you have valid data after 10 iterations.  There are other ways of doing this.  So depends on what you are doing.  I have also implemented the recommendation on the error clusters AND got rid of some of the Cohersion.  I have upgraded my 8.2 version to 8.2.1, so I saved as version 8.  Hopefully it still opens and works.
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?
    Attachments:
    sdp34_log_penetration_data.vi ‏181 KB

  • How to keep that valve open for certain period of time and shut off automatically

    Hi everyone,
    The objective of the VI is to measure pH and then open acid or base valve based on pH valve. Below is my UNFINISHED VI
    My question is:  if, for example, the  pH is 10, then, the program will open acidic valve for 5 seconds and then shut off automatically. After that, wait for 5 second. this process will go on and on as I use while loop, but I just dont know how to control the valve on for 5sec and off and then wait for 5sec.
    Anyone can help me out?    Thank you very much
    In the picture, please enter those values before running
    P.S The VI is based on previously posted vi by someone who made it 1 yrs ago.
    Attachments:
    project_trial_1_26.vi ‏27 KB
    Capture.JPG ‏79 KB

    1. The reason the valves close immediately is that the Elapsed Time VI does not cause any wait, it only measures the time. So the valves closed within a small fraction of a second of the time they opened.
    2. I modified your VI to wait until the Elapsed Time has ended.  See the "wait" state.  I probably modified some of your other functionality in the process, but this shows one way you could do the timing. 
    3. You do not need any Value property nodes.  They should never be used if the value can be wired directly.
    4. You do not need any sequence structures. Dataflow will determine the order of things occurring.
    5. If you use an enum for the state machine (and it is a good way to name and select states), you should make it a type def. Then when you need to change it as I did to add several states, you only need to change the Type Def in one place and the changes propagate through to every place you used the control or constants derived from it.
    6. I added a Halt state which will close both valves before stopping the program.  When you are controlling a real world process, it is important to consider the start up and shutdown requirements. For example the digital outputs of the USB-6008 default to inputs when the device is first powered up. And, the inputs are pulled high by a 4700 ohm resistor (at least I think I recall that value). Will this open your valves before the program starts running and sets the I/O lines to outputs and forces them low?
    The USB-6008 has rather limited drive on the digital lines. You will probably need a buffer between it and the valve coils.
    PID and PWM are more complicated than I want to get into here.  First, are your valves proportional or on/off? Second, (assuming that they are on/off) how fast can you open and close them without destroying them in the first week? What is their expected lifetime in terms of the number of operations? How fast do you need to be able to change them to keep your pH where you want it?  Are these values compatible?
    Lynn
    Attachments:
    pH State.ctl ‏12 KB
    project_trial_1_28.2.vi ‏66 KB

  • How to block one of the purchasing document types for certain period

    My client asked me to block the one of the purchase order documents for certain period.In what way i can do it? and also it shouldn't be displayed in the purchase documents list when we do me21n?
    Advanced thanks,
    Sateesh

    Hi Sateesh,
    Here u cann't block the Document type,
    U can do this,only the way to delete that document type for certain peroid.
    Thanks & Regards
    Suresh
    > My client asked me to block the one of the purchase
    > order documents for certain period.In what way i can
    > do it? and also it shouldn't be displayed in the
    > purchase documents list when we do me21n?
    >
    > Advanced thanks,
    > Sateesh

  • After using my browser (any of them) for a period of time I get a message saying that a page can't be opened. I have to reboot again. Clearing the cache doesn't help.

    After using my browser (any of them) for a period of time I get a message saying that a page can't be opened. I have to reboot again. Clearing the cache doesn't help. It's very annoying. It even happened in the middle of a chat with Apple online support. I'd be very grateful for help!

    Several things come to mind ... when you say your wife uses the same system with a different login and doesn't have issues, that suggests looking at your login items. Go to System Preferences (on your dock or on your hard drive in Applications), accounts, and on your account look at login items. Anything there that shouldn't be or isn't used? If you don't know, create a new account for yourself with no login items, and see if you still have the issue.
    Next, I would run OnyX, which is a free disk maintenance program. You can download it from http://www.titanium.free.fr/download.php . Do the tasks on the cleaning and maintenance tabs. Before using any disk maintenance software, you should have a system backup. I periodically run it, and others have found that it can help with performance.
    You might look at how you're system is using memory. You should have enough but it's easy to check. Bring up the Activity Monitor (on your hard drive in Applications/Utilities), and look at the system memory tab. Note page ins and page outs. If page outs are 10% to 15% more than page ins, you can use more memory for the programs you run. A page out occurs when memory is full and OS X has to write a section of memory to the hard drive. Too much of this can really impact performance. The optimal situation is for page outs to be zero.  Note these  values reset on a system boot.

  • Restric materails from sales for certain period

    Dear Gurus,
    There are some materials that should be in  quality inspection for specific period and after that period it should automatically release for unrestriced use stock. Basically we want to restric some material from sales for certain period and after that period it should be automatically avoid that restriction.
    Please provide me a possible solution for this.
    Thanks,
    Regards,
    Chameendri

    usually a human changes a status with a material movement, e.g. thru usage decision if Quality module is used.
    there is nothing in customizing or master data where you can say the material becomes saleable after 3 day lying in the shelfs.
    the GR processing time can be extended to 3 days, so ATP can know that the material is not immediatly available after goods receipt.
    But this does not change a stock status from blocked to unrestricted  (or quality to unrestricted).
    If you want this, then you have to write a report that checks how long the batch is already in Q-status and then calls a BAPI for posting a goods movement to change the status. and this report can then be scheduled to run in background once a day.

  • Information on the reports that have run over a certain period of time

    Hi everybody,
    do you know any report (programme, table or other object) that provides with the information on what reports have been called by the users over a certain period of time in the past? I am especially interested in the reports in the customer name space (z-reports). Once there was a programme called RBE (Reverse Business Engineer) that could give this information, but it doesn't function in ECC 5.0 & ECC 6.0 anymore and no longer supported by SAP.
    I would be grateful for any information. Thank you! Nat

    Transaction ST03N will give you all the information you seek and then some!

  • Im on wifi but sometimes when i try and send imessages it wont let me for a period of time why?

    Im on wifi but sometimes when i try and send imessages it wont let me for a period of time why?

    If not thsi:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Then
    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Having program wait for a period of time

    I have a program that I am creating that will need to paint something to the panel every few seconds. I have some code like so:
    public void paintBar(Graphics g, Graphics2D g2)
              for(int i = 0; i < 325; i++)
                   //draw a rectangle
                   double leftX = 36;
                   double topY = 76;
                   double width = i;
                   double height = 48;
                   double test = 100;
                   Rectangle2D rect = new Rectangle2D.Double(leftX, topY, width, height);
                   g2.setPaint(Color.yellow);
                   g2.fill(rect); //fill rectangle with color
                   g2.setPaint(new Color(204, 204, 153)); //change paint to background color for erase
                   eraseMessage(g);
                   calculatePercentage(i);
                   g2.setPaint(Color.black); //change paint color back to black for message
                   printMessage(g);
    //NEED TO WAIT HERE FOR A PERIOD OF TIME
    //THEN CONTINUE WITH LOOP.
    The problem that I am having is that I tried to use different wait() meathods and it seems to get to the wait meathod and just freeze. The painting is never done until the wait command is complete and then the all of the painting is totally finished. I never see it progressing.
    Any ideas?
    Thanks

    You could use a scheduled event...
    public void run() {
         Timer timer = new Timer(false);          // Create Timer
         class Refresh extends java.util.TimerTask {     
              // Create repaint event
              public void run(){repaint();}
         timer.schedule(new Refresh(),0,10);     // Schedule repaint
    }Call this when you run your program, and place all your paint and update methods into a paint(graphics g) method.
    Then, the timer will continuously run repaint repeatedly.
    You can then insert a single event timer (i don't know how off hand, but they are in the API under Timer events), that kills the origional event timer after X ammount of time.

  • I downloaded the latest operating system for my iPhone 5.  It worked fine for about two minutes then the phone requested a password number to continue. Each time I inserted numbers, the phone would lock up for a period of time.  Now, it says "iPhone

    I downloaded the latest operating system for my iPhone 5.  It worked fine for about two minutes then the phone requested a password number to continue. Each time I inserted numbers, which were incorrect, the phone would lock up for a certain period of time.  Now, it says “iPhone is Disabled”.  It said to “Connect to iTunes” which I did, but iTunes does not recognize my phone.  If I scroll the face to the right, it goes to the phone number face and says, "No Service". Can I do something to make the phone work?

    Forgot passcode for your iPhone, iPad, or iPod touch, or ...

  • No of RFC connections for a period of time

    Dear all,
    Is there any possibility to find the number of RFC connections hit to a server  over a certain period of time?
    I could not find any more details using AL08 since it gives the cumulative users rather than specific user type.
    Regards,
    Kumar
    Edited by: Anees Qureshy on Jun 16, 2010 1:43 PM

    Ya i have checked under that location.
    But It will give the total no of calls that have been made.So if we assume 20 calls made,then im sure it does not imply that 20 connections have been made.
    We have enabled a max of 2000 connections at any time.
    But the number it is showing is in lakhs..I guess that is no of cumulative rfc calls made.
    I still wait for a suitable reply.

  • Possible loop deadline monitoring for a period of time?

    Hi All,
    Here is our scenario.. We have a task sent to the managers inbox with deadline monitoring on it.  If the manager does not action this task, we set this task to obsolete and then we want to send a reminder email every day until the manager performs the required action.
    So the problem.. originally this email was to be a task but the loop would not work with the task as it's waiting on action from the user.  We changed this task to an email and it looped as expected however the only way I could think to put a wait for a period of time before another email is sent is by actually counting down the time in a method.
    However, the problem with this is that wf-batch is locking the worklfow so it can never complete, even if the event to complete the workflow is triggered.  wf-batch has it locked so the workflow can never complete, so it loops infinitely.
    So my question.. is it possible to repeatedly send notifications to a manager at specifically defined time intervals without locking the workflow?
    Below is how the workflow currently looks:
    Any guidance on this would be most gratefully received!
    Thanks in advance,
    Liz.

    Hi Liz
    in your wait step, do not count down the time.
    Instead keep the method as a dummy method with no code.
    In the wait step, use the deadline monitoring - Requested Start - set it to current date + 1 day
    The step will start 1 day after 'today' , execute nothing in Dummy method and then go on to the mail step
    I am sure that the deadline monitoring job is running because "Latest End" of the first task is executed in your system. So the same job will take care of Requested Start of the wait step.
    regards,
    Modak

  • Exchange server 2013 services need to restart automatically at certain period of time how do i schedule

    Hi All,
    Need to restart exchange server 2013 services automatically at a certain period of time is there a script to schedule to automate can you please help me step by step process.
    Thanks & Regards, Santosh Chowdary Vasireddy System Administrator Prolifcs DHFLVC Silicon Towers, 5th Floor, Survey #14, Kondapur, Hyderabad – 500 032. Work +91 40 3999 1999 Ex.1656 l Cell +91 9849277255 l [email protected] A Global
    Provider of IBM, Microsoft and Testing Solutions Award Winner for Technical Excellence, BPM, SOA, Portal and Governance

    You can create a PS1 file and run it in a scheduled task.
    The PS1 files will need to have this.
    Restart-Service MSExchangeTransport
    Restart-Service MSexchangeIS
    etc...
    How to add a Scheduled task is given in this link.
    http://www.mikepfeiffer.net/2010/02/creating-scheduled-tasks-for-exchange-2010-powershell-scripts/

Maybe you are looking for

  • I cannot update iTunes.

    I cannot update iTunes.  On Windows 7 IE 10.  I get message "The feature you are trying to use is on a network resource that is unavailable.  Enter an alternate path to a folder containing the installation package iTunes64.msi

  • Urgent : Smart form tables

    I have a smartform with main window .Inthis main window i declared one table and it's working  fine .i need to add more functionality to smartform i created another table in main window were i  declared earlier  that place .it's goes to short dump an

  • Office 365 and IP

    We want to install the Office 365 applications locally on our users' boxes but restrict them from saving documents (accidentally or otherwise) to OneDrive. (Nothing against OneDrive but we prefer to keep Intellectual Property in-house for security re

  • Connection between 2 servlets

    I have two servlets. In my 1st servlet I loaded my driver and connected to my database. In my second servlet I'd also like to execute sql statetements. Do I have to connect to the driver again and write Statement,Connection lines again? Isn't there a

  • How do I prevent losing quality from HDV FCP 5 project to SD DVD?

    Sorry to ask, but I'm new to DVDSP and not sure if I'm going about it the right way. I'm planning on using compressor to export my 30 minute HDV video from FCP 5, but wasn't sure of the best possible setting so I lose the least quality when making a