Newby question: counting redelivering trials

I use jms with MDB. I send messages successful to a queue and the MDB gets them. I put the message back
to the queue if proccessing message did not succeed.
My problem is, that I have to know how many times the
message has been put to queue again, because this action should be done only ten times. The Message objects given to onMessage are readOnly - that I know.
My question: is there a way to count the retries without creating a new Message and putting this new one(with an increased counter) to queue instead of
original one? If mentioned idea is the only one please tell me too.

Hi!
I'm not quite sure, if I understood you right. Do you mean that you have to send same message again and again in the case that reciver won't get the message?
You can use persistent messages that will stay in db if receiver is not present.
QueueSender sender = ... //create sender
sender.setDeliveryMode(DeliveryMode.PERSISTENT);Second quess: Your receiver is processing some task and if it fails, you want to send message again?
Possible solution: use request-reply functionality included in poin-to-point domain. Then your sender or requestor will block until receiver will send reply back. Your sender can read the reply and if reply contains an error message, send message again and stop sending after ten times.
Does this help you at all?
-Raine-

Similar Messages

  • Question Count Error

    I'm reusing a template which inlcudes questions. When I
    add/delete questions from the template, for example the question
    count of five (5) is correct when editing the file, however, when I
    export it, (SWF) the question count starts at seven (7) vice one
    (1). Anyone encountered this?

    Hi r6urbv
    Yes, this question could easily fall into a FAQ category.
    Check your movie for Click Boxes. Each Click box typically
    has coring enabled as a default. Edit the properties, click the
    Reporting tab and turn off scoring.
    Hopefully this helps... Rick

  • Dumb Question: Count of Rows Returned?

    I am using a dbcontrol to get rows from the database. I am using the netui-repeater to display the results. The repeater datasource is "request.results".
    My question is how do I get the total number of records returned from the query?
    I know this is should be a simple thing, but I have been unable to get the number.
    Thanks...

    Suggested implementation:
    typedef void (^MSCountQueryBlock)(NSInteger resultCount,
                                     NSError *error);
    /// Sends a request to the Windows Azure Mobile Service to return the row count/// from the table that meet the conditions of the given predicate.
    -(void)countRowsWithPredicate:(NSPredicate *) predicate
          completion:(MSCountQueryBlock)completion;

  • Newby question: I have a report that is featured and is available for Q&A and now I want to display this functionality in a web part of a site...

    Hi,
    I have a report that is featured and is available for Q&A and now I want to display this functionality in a web part of a site.
    I am using a trial right now, so I am not sure if I have all the necessary licences, but I am really new to this subject so a link to msdn page or blog item might already do the trick.
    This is what I have right now: 
    https://www.youtube.com/watch?v=rV2_m4iWxSE
    Thanks

    No that is not currently available. 
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Question about converting trial to full version.

    Hi there,
    I have 2 questions:
    1.
    Currently I am using Framemaker 7.2 trial version. I have the licence code for Framemaker 7.2. I found out from the Adobe website (http://www.adobe.com/support/service/trial.html) that I need to Activate the trial product for it to be converted to a full version but I do not see any Activation button when I opened the trial version. How do I convert from trial to full?
    2.
    After Step 1 above is done, how do I upgrade version 7.2 to version 8?
    Thank you.

    You cannot purchase FrameMaker 7.2 anymore, you can buy FrameMaker 8 from Adobe Store.

  • Question: Counting certain pixels

    Hi
    I'm doing a research about copper associated hepatitis in dogs. Now we are trying to set up a new method of diagnosis. The principle is to measure the amount of area that contains copper on a picture of liver tissue as a percentage. The tissue is stained with a chemical which results in a good contrast between copper and no-copper areas.
    My question:
    Does anybody know some way to count the amount of pixels(or the percentage of area) that exceeds my certain threshold of RGB colors?
    Thanks!
    Tjebbe Waalwijk

    quick and easy method:
    (1) set the color picker to point sample
    (2) select the magic wand tool, chose a useful tolerance level for your purposes, deselect both anti-alia and contiguous
    (2) zoom into the picture
    (3) click on a "copper pixel"
    (4) click on histogram panel
    result: see screenshot. In my example the result would be 37646 pixels.
    (don't forget to click on the exclamation mark, otherwise values are rough estimates only)
    However I don't think the mere pixel count is very helpful scientifically as it may depend on how dark those pixels are vs. the size of the area, and lots of other factors right?
    full size image: http://img140.imageshack.us/f/20110414040146screenhun.png/

  • Vibe Z2 Pro - Few newby questions

    Hello, as a newby, I have a few simple questions about Z2 Pro and Vibe UI:
    (a) the main issue I have with Vibe UI on this phone is that the 4-apps-per-row look very huge, can you cange it to 5 apps per row with some settings? that would be really useful, as most other big phones are 5 apps per row.
    (b) can I make a guest mode? I think I saw with some other phones, that you can make a guest mode, so that your little cousens don't see all your apps that they don't need to see. I know there is secure mode but that is sothing else.
    (c) can you use Z2 Pro to make the payments with the phone? I know it has the NTF, but don't you need a finger print scanner for that?
    (d) in the camera settings, when I tested the phone, I could not choose 1:1 for the front camera, only for the selfie camera? Is that really so? I would not see why not.
    (e) in the camera settings, I can choose between 3:4 and 16:9 but I somehow could not find the settings for image resolution. what do I do if I want low resolution photos or very high resolutio photos?
    (f) I assume, you can't charge the phone wirelessly, that would be too much to ask for
    Thanks guys.

    Hi, ileyb
    Unfortunately I don't know, what is the "Security Zone" & will be very grateful if you explain a bit about this feature or provide an appropriate link.
    In order to switch to "stock android", you have to do the next:
    1) Go to Settings > About phone > Version information, tap 7 times on "Software version number". This will unlock "Developer options" settings section.
    2) Go to Settings > Developer options > Switch System UI Style and enjoy,

  • Newby question: I keep on getting "No size set" error

    Hello,
    I'm trying to integrate an Oracle database into my ASP.NET application and I keep on getting an error:
    "Parameter: ENTITY_NAME. No size set for variable length data type: String"
    The parameter is set as VarChar2 in the database, size 50, and the C# code sets this as a VarChar.
    My ASP.NET code is:
    Connect();
    // setup the command to the stored procedure
    OracleCommand DBCmd = new OracleCommand("HDB.PRL_PAYROLL_PKG.GET_ENTITIYID_BY_STOREID", this.Connection);
    DBCmd.CommandType = System.Data.CommandType.StoredProcedure;
    DBCmd.Parameters.Add("STOREID", OracleType.Number).Value = StoreID;
    DBCmd.Parameters.Add("STOREID", OracleType.Number).Direction = System.Data.ParameterDirection.Input;
    DBCmd.Parameters.Add("HDB_ENTITIES_ID", OracleType.Number).Direction = System.Data.ParameterDirection.Output;
    DBCmd.Parameters.Add("ENTITY_NAME", OracleType.VarChar).Direction = System.Data.ParameterDirection.Output;
    DBCmd.Parameters.Add("ENTITY_NAME", OracleType.VarChar).Size = 50;
    // Execute Procedure.
    OracleDataReader reader = DBCmd.ExecuteReader(System.Data.CommandBehavior.SequentialAccess);
    Can anybody steer me in the right direction?
    Thanks in advance for your help.
    Steve

    I have recieved no answers to this question.
    I think I'll go back to SQL Server 2005.

  • Question please re trial version to purchased version

    Hi.  I completed the free trial of Adobe Photoshop Elements 10 and after finishing the trial went and purchased the full programme at a store.  I received the box of discs with serial number on the back etc.  Uploaded this serial number to this Adobe website and the Photoshop Elements Program I used in the trial is now active from the icon on my desktop.  Do I still need to put the 3 x discs into my computer?  Any help would be great.  Thanks.

    In short, no.
    Disc 1 is PSE for Windows, but as you have installed the trial version and applied the serial number to it. You won't need it.
    Disc 2 is the trial version of Premiere Elements ( 64bit).
    Disc 3 is PSE for Mac.
    Hope This helps.

  • Unanswered Questions Count is Wrong

    Hello Sysops (hehehe). Unanswered Questions is wrong for me. Thought you might want to look into that.
    Cheers

    Hello BioRich,
    Could you explain what you mean by wrong?
    Is your situation similar to This Poster's issue?
    Or This One?
    ali b

  • Newby Question! Do I have keep my music on Itunes forever?

    OK - I just got my 30g Ipod yesterday and I spent 3 hours importing music and then deleted the music out of Itunes to save space on my computer. When I started to import more music, low and behold, it erased all my music on my Ipod from last night. If I have a 30g Ipod, will I have to leave 30g of music on my computer slowing it down forever? What do you suggest, I'm clueless. This is ridiculous. I did change the preferences to manually manage music but it said I will have "eject" my Ipod each time I disconnect, what does that mean.
    Help me please, I'm a total newby!
    Thank you

    If you have your iPod set to transfer your music manually, then that “do not disconnect” message will continue to be displayed on your iPod until you manually eject it.
    You can do this by clicking on the little eject icon next to the iPod listing in the source window of iTunes, or right click on it and select “eject”. Another way would be to use the “safely remove hardware” icon in the system tray next to the clock (looks like a grey rectangle with a green arrow above it). Click on this then select your iPod. Or through Windows, select start/my computer, right click on the iPod, select eject.
    Just a word (alright several!) about deleting the songs in iTunes.
    It is a very risky option. What if you needed to do a software restore (which is a very common fix for iPod problems)? This would erase the contents of your iPod. Any purchased music would be lost and need to be purchased again.
    What if the iPod were stolen/lost/needed repair?
    It’s much better to keep the music on your computer, and if storage space is at a premium, one option would be to buy an external hard drive, which are cheaper than ever nowadays, and keep your music library on that.
    The iPod is a music player and was never intended as a long term storage device for the only copy of your music.
    See also Backing up your music files in iTunes.
    Sorry for the sermon, but we see a lot of folks weeping and wailing here that they lost all their music.

  • Question with PSe Trial Version

    I have recently installed the trial version (8).  I have ran it for a couple days with no problems other than it being particularly slow.
    Now though it is crashing to the desktop.  I can open to the splash screen.  As soon as I try to select Organize or Edit though, the program exits to the desktop.
    Is this a known issue?  Maybe something specific to the trial version?

    Please try few things -
    1) Delete PSE preferences and then try launching the application.
    2) Try to open a new catalog.
    Hope this helps.
    Thanks,
    Sourabh

  • Newby questions

    Hello All,
    I am new to wireless and my company is about to pilot an internal iPad app. I am a network specialist in an IT department of a business that requires high security. I have received recommendations to look at Cisco access point routers due to their security features.
    Are there any guides to give me a high level understanding about wireless access, including terminology, differences between technologies and deployment strategies?
    The recommendation was for the Aironet 3502e. The iPads in our pilot project will be used in a public area of our business. At this point we are not ready to offer WiFi access in the public area. That may change. The iPads will connect to at least one server on our production network. If the pilot goes well we will be deploying this to several of our remote offices. Is the 3502e the best option for this project? Is there another Cisco device that may be better suited for our project?
    If this should be posted elsewhere, please let me know and I will repost.
    I appreciate assistance you can provide
    Dan
    Sent from Cisco Technical Support iPad App

    SO from a purely RF coverage standpoint yes you could do that with the antennae. Is it the correct and best practices method of doing that? NO. Why? RF is a wave pattern carrier of data traffic. When the waves bounce off of multiple surfaces they ten to reflect and turn inward. Another example of this is a bathtub of water that is completely still. You drop a marble in at the far end and desire to get a perfect waveform at the other. As the waves spread out from the drop point the bounce off the walls and by the time they get to the other end the perfect wave is now only chop. The same happens with RF and when this happens multiple copies of the same wave hit the receiver at slightly different times. This is called multipath distortion or multipath interference. Second generation access points combated this with SiSo diversity technologies where the receiving access point would choose which of its two antennae to accept the signal from and then assuming the best path to then was also the best path back, send the return signal out of the chosen antenna that received the signal. The problem with mobility is that we are mobile and often the signal did not return adequately resulting in packet retries. Packet retries occur when the signal does not arrive properly at the intended receiver and the transmitting AP never gets the packet received message back from its intended target. OFDM modulation was the 3rd generation improvement still using SiSO to make diversity event stronger but still did not provide robust enough protection to allow for high speed data rates on RF. In come 802.11n. 802.11n allows for multiples of antennae to receive individual signals then phase shift them so that the signals can be combined to make a single, stronger, and more reliable reception of signal.This is called maximal ratio combining diversity or MRC. As much as a 40% SNR improvement. Then by phase shifting the return signal you can focus the return signal to the original sending device like a mag light. This is called beamforming. Since the signal is going back via multiple paths you can split the signal according to the number of transmitting antennae thus allowing for a quicker transmission of the data because you now have multiple paths back to achieve this. This is called spatial multiplexing. 802.11n also allows you to channel bond or add two adjacent channels together to in fact double the size of the pipe you are sending the data on. All of these technologies for 802.11n are the key components of MiMO technology or multiple in multiple out. We won't get into packet aggregation today as that could easily be another two pages of typing but just think of the old jumbo frame for Ethernet and you'll get the idea.
    5th and 6th generation access points are now being developed around even more antennae and new standards. 4x4 or four antenna per radio solutions are now nearing fielding to the market and promise even better throughput rates of up to 6gb of throughput based on the being developed 802.11ac standard. These new standards reside around competing technologies such as Multiuser MiMO and DiDO or distributed input distributed output. The coming years promise even more innovation as RF scientists learn even more efficient ways of utilizing our existing spectrum.
    So, back to the original question, spread the antennae around? No. Why? We need MRC diversity and MiMO to complete the task reliably. How? By placing the antennae apart in a linear path along a distance determined by multiples of the length of the wavelength. You can achieve this with individual antennae for each antenna connector on the AP and do the math calculations yourself OR just buy MiMO enable antennae that have proper placement of the antenna elements already placed for you.

  • Question on free trials

    I currently use Paint Shop Pro. I want to try CS6 before I buy it my friend said you offer a 30 day free trial. I did not find the down load link on the site? Am I overlooking it?

    Download CS6 products
    -Noel

  • Presentation shows too many questions in Question count - Progress Indicator

    I just downloaded Captivate 7 and made a template for my presentation.  I then imported some Powerpoint slides into the presentation after creating a project from the template.  That all worked fine, but the template and the project list 11 questions while I actually only have 2 question slide and the results slide in the template and in the presentation.  Just wondering why that is and if there is a way to fix that.
    I do notice that I have 6 master slides also, 1 for content and 5 for question types (MCQ/T-F/etc., Matching, Hot Spot, Likert and Result.
    Any pointers on that.
    Can't wait to test out the HTML5 features and the LMS reporting features.
    Stephen

    Hello,
    Could you check Advanced Interaction (F9)? I think you have some scored objects besides the Questions. All interactive objects can be scored: click boxes, (shape) buttons, Text Entry Boxes. That view is linked with the Properties panel, if you select such a scored object, you can change its properties in the Properties panel, look for the Reporting accordion.
    Forgot to answer about the master slides. No way to escape from those 6 slides, the minimum (Blank theme has that minimum). It is one of the reasons why I don't like those damned themes. You can add master slides, you can use the main master slide for objects/background that you want to have on different child master slides, but the Question slides/Score slide always will use their dedicated master slides.
    In many cases Themes can replace templates because they also have the object styles and skin editor included (that part of themes I like a lot). Only if you want real placeholders, and perhaps variables, advanced actions you'll need a real template.
    Lilybiri

Maybe you are looking for