Does the Weblogic JMS implementation use the Time-To-Live values?

          I am trying to send a message to a Queue with a time-to-live. The only way that
          I can get this to work is by going into the console, and setting a default value
          on either the Queue or the connection factory. But this is not the behavior I
          want. I would like to do this programmatically instead so it can be property
          driven and a Sys Admin can change it easily.
          I downloaded the JMS spec and saw that you are supposed to set the time to live
          when calling the MessageProducer's send message. I did this, but it doesn't work.
          Is anybody else having this problem? Does Weblogic's JMS implementation just
          ignore this value? Or do I have my Queues and other JMS components set up incorrectly?
          P.S. All of my time-to-live overrides are set to -1 in the console, so my time
          to live set in the program should be respected.
          

          Tom,
          I was able to track it down to a programming error. Thanks for your help.
          Dan
          Tom Barnes <[email protected]> wrote:
          >Hi Daniel,
          >
          >Yes, client-specified message expiration works. I suspect
          >a programming error. First take a look and make sure that you are
          >not making the common mistake of trying to set the value
          >directly on the message, rather than on the producer - as per
          >the JMS spec and JMS javadoc, setting this value directly
          >on message will have no effect as the producer's value
          >will always override it. If this isn't the case,
          >please post your code and I'll take a look.
          >
          >FYI Note that all management fields can be programmatically
          >set as well. Since you want programmatic administrative
          >control, this means that you have the option of
          >programmatically configuring the destination's time-to-live
          >override field if you so wish.
          >
          >Tom
          >
          >Daniel Livesay wrote:
          >
          >> I am trying to send a message to a Queue with a time-to-live. The
          >only way that
          >> I can get this to work is by going into the console, and setting a
          >default value
          >> on either the Queue or the connection factory. But this is not the
          >behavior I
          >> want. I would like to do this programmatically instead so it can be
          >property
          >> driven and a Sys Admin can change it easily.
          >>
          >> I downloaded the JMS spec and saw that you are supposed to set the
          >time to live
          >> when calling the MessageProducer's send message. I did this, but it
          >doesn't work.
          >> Is anybody else having this problem? Does Weblogic's JMS implementation
          >just
          >> ignore this value? Or do I have my Queues and other JMS components
          >set up incorrectly?
          >>
          >> P.S. All of my time-to-live overrides are set to -1 in the console,
          >so my time
          >> to live set in the program should be respected.
          >
          

Similar Messages

  • When peeking for messages, the time to live value seems not to be set. Is this a bug?

    I asked this question first on stackoverflow here:
    http://stackoverflow.com/questions/20608061/how-can-i-automatically-expire-messages-on-an-azure-service-bus-subscription
    I think this might be a bug.
    Steps to reproduce with Service Bus Explorer 2.2.1.0
    Connect to a Service Bus Namespace on azure
    Create a new topic "MyTopic"
    Create a subscription "Log" under the topic and set the Default Message Time to Live to 5 days.
    Right click on the MyTopic topic node and choose "Send messages"
    On the "Send messages to MyTopic" screen: click "Start"
    Click the "Log" subscription node
    Click the "Messages" button and choose Peek 10
    Click the message in the list
    Look at the TimeToLive field in the "Message Properties" area
    The value is  is 10675199.02:48:05.4775807.  I would have expected a value 5.00:00:00 there.

    Hello,
    I got an update from Service Bus Product Group:
    This behavior is currently by design and should be seen independent of SDK version: the effective TTL is the minimum TTL of message and entity and is checked at runtime, rather than imprinted on the message at enqueue time (because the entity-level TTL
    could be changed at any time after messages were enqueued). The documentation is misleading and should be fixed.
    If you have any questions or concerns, please let me know. 
    Best Regards,
    Bruno.

  • On the new time capsule a/c, if you lay the device on its side does it change its signal strength in any way? Does the time capsule have to stand up-right all the time?

    On the new time capsule a/c, does the time capsule have to remain up-right? Can the time capsule lay on it's side and still function?
    Thanks

    Please remember that the Time Capsule's antennas are up at the top of the device, and have been designed to work best in that position.
    In addition, the air flow pattern to help cool the internal electronics has been designed to work best with the Time Capsule in a upright position.
    When I lay the Time Capsule down for 30 minutes, it is noticeably warmer. I can't tell if wireless is affected that much since my home is not that big.
    You could try laying the Time Capsule down, but my recommendation would be that you do not do this. You may get a different opinion from another user, so stay tuned.

  • How does the time machine work

    how does the time machine work....I need to find an older version of a document...

    Hi mogburn,
    Time Machine is part of the System software, not a feature of the word processing and page layout application, Pages, the topic in this community.
    That said, Time Machine is pretty easy to get into.
    In the Finder, open the folder containing the current version of the file.
    Select the file, then click on the Time Machine icon in the menu bar and choose Enter Time machine.
    The folder window will move to the center of the screen, and two arrows will appear near the lower right corner of the window.
    Click the one pointing back to go back in time, and the one pointing toward the front (of the computer) to return to the present. The display will stop at each saved version of the file along the way.
    Need more details? Try asking in the Mac OS X v10.6 Snow Leopard community.
    Regards,
    Barry

  • Windows live mail having problum after joining in domain examples incoming is good but sent or outgoing is not there and also send mails are not exporting at the time of live mail exporting time?

    windows live mail having problem after joining in domain examples incoming is good but sent or outgoing is not there and also send mails are not exporting at the time of live mail exporting time?

    This is not usually related to AD issues, but it may be more of a DNS issue. I posted a request in your other thread to post an unedited ipconfig /all of the DC and of the client.
    This may help use diagnose this issue and your other thread's printer issues.
    Thank you,
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • Subject:-Tax reduction in invoice is not possible at the time of LIV when c

    Dear SAP expert
    Subject:-Tax reduction in invoice is not possible at the time of LIV when corresponding order is closed.
    While carrying out the LIV of vendor invoice against service entry sheet , ERROR message of Order xxxxxxx created in PM module is closed. Main reasons for the same is Service tax at time of service entry sheet is 12% and at the time of invoice verification it is 3.96% and reduced tax amount is credited to order. Which we can say is restricted as after Order closure cost cannot be changed on order.
    Is there any solution available?
    s ap

    Hi,
    In response to your requirement:
    let me clear my business scenario...
    total price of po is usd100 and sales tax is 20%.
    system calculate sales tax separate the reason being the codition type for sales tax is statistical.
    is it possible that the value of sales tax included in the PO net price but not calculate at the time of GR.
    Regards,
    Ali
    This is very much possible. Include your tax condition type in the calculation of net price and make this tax as deductible.Donot assign NVV key to it.
    Also donot make it statistical as you want to include it in the net price calculation.
    Thanks,
    Atal

  • Where on the HD does the iPhoto library live?

    Hi, I'd like to copy photos to an external HD. Where does the iPhoto library live on my hard drive? It's not in the "Home" (picture of a house) directory (there is a "Pictures" folder there, but my iPhoto pics are not in here). Where else could it be?

    James, the search took you to iPhoto.app?
    Here is a screenshot of the iPhoto Folder and where it resides as default.
    This is a view of how the iPhoto Library looks in the Finder.
    It is organized by Year folders. Inside the Year folders are Month folders. Inside the Month folders are the days of the Month. Inside the day folders are the photos you took on that day. If you imported video clips and RAW files on that day they will be in an Originals folder. If you have edited any photo imported on that day, the original will be in that folder also.

  • How does the time capsule work?

    I am unfamiliar with this device. Can anyone explain how this works? I have a Gateway NV79, an IPad 2 and an IPhone. Will the time capsule work with these devices and a printer(Officejet Pro 8600)? If so, how does it do this? I am also wondering how it works as a router? Does it provide the internet access itself or do you have to have a separate source of internet to link to the device?

    A Time Capsule is a wireless router and a hard drive in one package. It does not have a modem built in, so a modem and broadband service is required if you want to be able to connect to the Internet.
    As a wireless router, the Time Capsule can provide connections for up to 50 users and 3 wired Ethernet devices. If you need more Ethernet connections, a switch can be easily added to the Time Capsule for that purpose.
    Your printer could connect to the Time Capsule using either a wired Ethernet connection or wireless connection
    Apple's literature does a good job of describing the product. Be sure to click the links in the upper right hand corner of the main page to learn more about the Backup capabilities, Wireless performance, and detailed Specifications.
    Time Capsule

  • Why does the Time Capsule of my neighbour appears and not mine?

    Why does the The Time Capsule of my neighbour appears and not mine?  I tried everything.
    Can I use the Capsule as merely a back up without making use of Wifi?  By connecting by cable to the computer?

    Why does the The Time Capsule of my neighbour appears and not mine?  I tried everything.
    What generation is your neighbour's and what generation is yours??
    Sometimes the changes in the TC and firmware can make wireless fail.. also location is important.. the location of your neighbours might be better than yours.. his also might interfere with yours.. set a fixed channel and try the various channels.
    Can I use the Capsule as merely a back up without making use of Wifi?  By connecting by cable to the computer?
    Sure, but you need to work out how the network is going to work.. if you are still picking up network from wireless.. then set static ip for the TC in a different IP range.. set no gateway (router ip) or dns and it will work just fine.

  • Migrated Mac to new Macbook Pro- Does the Time Machine backup follow?

    Had old macbook pro with backups on TM. Migrated computer to new macbook pro. Does the old TM backup follow or should I delete (to make space) and restart with new backup?

    When your next backup to the same drive starts, you'll get the option to continue using the backups. See #B5 in the Time Machine - Troubleshooting *User Tip,* also at the top of this forum.
    Even if you choose to continue, TM will probably do a new, full backup. So if your TM drive isn't well over twice the size of the data it's backing-up, your best bet may be to erase the drive with Disk Utility (don't try deleting via the Finder) and let it start fresh.

  • Does the time capsule act as an external hard drive too?

    I haven't got the time capsule but I'm thinking about getting it but I want to know does it Work as an external hard drive too, so can you store things like music files and things on there and access them anytime?

    It cannot be plugged in via usb.. only by ethernet.. so it is not really external hard disk.. it is network storage but not a NAS.. it is designed purely as a target for Time Machine backups.. primarily for laptops with wireless only connections.. eg MBA as they do not have ethernet.
    As a place to store files the TC can be pressed into service but is really poor in having no automated method to back itself up.. and they do die which leaves them a sealed unit which Apple refuse to fix or open even to recover your data.
    Buy a NAS from any of the major companies.. if you want Network storage..
    Buy a USB drive from any of the major companies if you want something to plug into your computer for storage.
    TC is neither.. arthur or martha.

  • Does the time capsule work as an external hard drive that you can access from multiple lapttops

    I have a mac desktop, a macbook and a pc laptop. I also purchased the time capsule. Will that functional as an external hard drive that I can use to save a share documents between. Trying to figure out the best way to work on documents between devices. new to max and trying to make the full switch but still working with toshiba laptop for a while too.
    Any help is appreciated.

    Hello jhettenhausen,
         Yes, it can function as an external drive for all the devices.  As for Windows, you just need to make sure that
    it is Windows Professional or XP, as they support mapped network drives.  Windows 7 Home Premium doesn't is not capable of mapping network drives.  At home, I have a ubuntu laptop, Windows 7 Profesional laptop, and Macbook Pro and they all backup to the Time Capsule 1 TB.  Hope this helps!!
    Best Regards,
    freesparks

  • Does the Timer() function support multithread?

    Hello,
    In my application, there would be more than 1000 conversations to be monitored. I am going to design a woker thread for each conversation to determine the timeout of the communication, so I must using the timer mechanism. Due to just can create (max )16 async timers, so I want to use Timer() in the worker thread. I'd like to know if the function support multithread and if it will not be disturbed in a thread?
    David

    Hi David,
    The 'timer' used by the Timer() function is global and not thread specific. Note that Timer() returns the number of seconds elapsed since the FIRST call to the Timer() function. This is independent of the thread where the FIRST and current calls take place. So, the values returned are kind of a global 'time' since the first Timer() call in your program. I would recommend that you FIRST call Timer() in your main thread before running your other threads and then the other values returned in any thread are the 'seconds' since this call.

  • When or How does the time stamp on Report Manager / Data Collection change

    Hi,
    I have been waiting since 10am waiting for data to be available. Unfortunately, the Sun MC has not updated the time stamp. I am unable to create graphs for the machines I setup this morning? Any ideas on how to post data faster than waiting forever for Sun MC server?
    thanks

    Hi,
    Clearly a bug. You can try changing your Tools|Preferences|Database|NLS|Timestamp Format to match the Date Format as a workaround. Otherwise why not upgrade to the lastest production SQL Developer release (3.1.07.42)? The bug does not occur there.
    Regards,
    Gary
    SQL Developer Team

  • If you read a message twice on iMessage, does the time on the read receipt change?

    i was messaging someone earlier on imessage and they read my message at about 3pm (i got a read receipt).. but when i checked my imessage on my laptop a few hours later the timestamp had changed to about 6pm, when the timestamp on my phone hadn't changed. does this mean the person i sent the message to read it twice?

    Please remember that the Time Capsule's antennas are up at the top of the device, and have been designed to work best in that position.
    In addition, the air flow pattern to help cool the internal electronics has been designed to work best with the Time Capsule in a upright position.
    When I lay the Time Capsule down for 30 minutes, it is noticeably warmer. I can't tell if wireless is affected that much since my home is not that big.
    You could try laying the Time Capsule down, but my recommendation would be that you do not do this. You may get a different opinion from another user, so stay tuned.

Maybe you are looking for

  • Report summary - itunes U site manager

    I cannot see the report summary for our site. I have tried different types of browsers without luck. I could se the summary two weeks ago? Niels

  • Load balancing and fault tolerance in BPEL PM

    BPEL documentation talks about the ability of clustering processes in BPEL PM Server for fault tolerance and Load balancing. Can anybody tell me how is it done? Thanks

  • Subversion : Author set to empty when submitting a file.

    It's ok if I do an import at the beginning however not from within XCode after making a change to a file. I also changed the owner from myself to www of the svn repos directory. This had to be done as it complained earlier. This leads me to believe a

  • Bass Speaker support

         On one of my songs, it sound great with my Mac's speakers, but if I plug in my headphone the bass guitar is far too loud, obviosly because these headphones allow listeners to hear more bass tones. If I turn the bass down it will sound with the h

  • Maintenance cost by produced unit

    Hi everybody, I'm looking for some tables where I could find the budget for a specific area in a period. I know this information could be retrieved from FICO tables but I dont know the FICO tables. I need to develop a report retrieving the budget for