Wy douse the bridge override time to live for individual jms-messages?

Hi, we have a problem with time to live for individual jms-messages.
          We have a JMS-bridge (ASYNC) between two wls, one application publish a jms masseage on a jms queue with the QueueSender. When the message i sent we set the time to live for the jms-message.
          The bridge then transport the jms message from one wls to the an other. When the message i received on the subscriper side the message time to live is no longer set to the value we specified, the value is now overrided with the default time to live value set on the source ConnectionFactor.
          How do prevent the override of the time to live value.
          Regards
          /Johan

Hi,
          If the target destination is WL 9.0 or higher you can configure the bridge to preserve message properties -- the MBean attribute name is "PreserveMsgProperty".
          Alternatively, if source and target destination are WL 9.0 or higher, you can configure WebLogic store-and-forward instead of a bridge.
          Finally, if the expiration time is always the same relative to the current time at the point when the bridge forwards the message, you can administratively configure the target destination with a "TimeToLiveOverride" (via the destination configuration itself - not the bridge configuration).
          Tom

Similar Messages

  • CacheLoader different expiry-delay or time-to-live for different keys

    I am now using a class which implements CacheLoader interface. Ii have two issues-
    1. Different expiry-delay or time-to-live for different keys- how do i do this? I can specify only one expiry-delay in configuration file. And i am not calling cache.put() so i could specify ttl. We are trying to use same class for multiple keys. But problem is that we have different expiry-delay requirements for those keys. Do we have to use different cache for those keys? hoping to avoid that as we will have lots of them.
    2. refresh-ahead-factor is not working.
    We are using Coherence 3.4.2 GE
    Below is the server configuration file
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
              <cache-name>reference-data-cache</cache-name>
              <scheme-name>reference-data-cache-dist-scheme</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
         <distributed-scheme>
              <scheme-name>reference-data-cache-dist-scheme</scheme-name>
              <service-name>ReferenceDataBackingService</service-name>
              <backing-map-scheme>
                   <read-write-backing-map-scheme>
                        <refresh-ahead-factor>0.2</refresh-ahead-factor>
                        <internal-cache-scheme>
                             <local-scheme>
                             <scheme-name>reference-local-scheme</scheme-name>
                             <eviction-policy>LRU</eviction-policy>
                             <expiry-delay>20m</expiry-delay>
                             <flush-delay>2m</flush-delay>
                             </local-scheme>
                        </internal-cache-scheme>
                        <cachestore-scheme>
                             <class-scheme>
                                  <class-name>ReferenceDataLoader</class-name>
                                  <init-params>
                                       <init-param>
                                            <param-type>java.lang.String</param-type>
                                            <param-value>{cache-name}</param-value>
                                       </init-param>
                                  </init-params>
                             </class-scheme>
                        </cachestore-scheme>
                   </read-write-backing-map-scheme>
              </backing-map-scheme>
              <autostart>true</autostart>
         </distributed-scheme>
    </caching-schemes>

    Hi
    Refresh ahead is only activated when you do a get. Could this be the problem? Here is an excerpt from a good forum thread on this subject
    Unable to get refresh-ahead functionality working
    Yes, it works as expected. refresh-ahead works approximately like this :
    public Object get(Object oKey) {
    Entry entry = getEntry();
    if (entry != null and entry is about to expire) {
    schedule refresh();
    Also, generic Coherence questions should be posted in this forum:
    http://forums.oracle.com/forums/forum.jspa;jsessionid=8d92079330d63b6fca03d69245ae9170d4607c2284ca.e38QbNuQbx8Kbi0LbhaMaxuKahr0?forumID=480&start=0
    thanks
    Paul
    Paul

  • Ive just upgraded my late 2009 macbook, and things are not working properly. First of all, when I started the computer first time after installing Mountain Lion, some message advised me that some files were impossible to install.

    Ive just upgraded my late 2009 macbook, and things are not working properly. First of all, when I started the computer first time after installing Mountain Lion, some message advised me that some files were impossible to install. Once I wrote my password, and for now on, everytime I start the session, another window advise me that "Java SE 6" is missing, due that, the computer can't run some "CS5Service Manager". If I try to install it, the download ends with an error. If finally, you skip the istallation, you arrive to the dock, but the menu bar at the top of the screen doesn't show up.
    In addition, my trackpad doesn't works either. I can move the arrow but i can't click anywhere, probably because the option of clicking by touching is disabeled and I can't performance a regular click.
    I'll be very glad if someone know what the heck is happening with my computer. Anyway, I'm going to the genius bar next Saturday. Thx!

    We're sorry.
    We can't find the article you're looking for.
    Please return to the Apple Support homepage.
    Sigh.

  • What is the recommended way for persisting JMS messages?

    What is the recommended way for persisting JMS messages?. As per the IMQ admin documentation , using the default built-in persistence type which is through unix flat files is much efficient and faster, compared to the database persistence .
    Tried setting up the jdbc stuff for database persistence on iAS 6.5 . I am getting the following
    error .
    [24/Apr/2002:16:09:20 PDT] [B1060]: Loading persistent data...
    [24/Apr/2002:16:09:21 PDT] Using plugged in persistent store: database connection
    url=jdbc:oracle:thin:@dbatool.mygazoo.com:1521:qa1 brokerid=ias01
    [24/Apr/2002:16:09:23 PDT] [B1039]: Broker "jmqbroker" ready.
    [24/Apr/2002:16:11:56 PDT] ERROR [B4012]: Failed to persist interest
    SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Response%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0AisReadonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_Response%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
    java.sql.SQLException: ORA-01401: inserted value too large for column
    [24/Apr/2002:16:11:56 PDT] WARNING [B2009]: Creation of consumer SM_Response to destination 1
    failed:com.sun.messaging.jmq.jmsserver.util.BrokerException: Failed to persist interest
    SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Response%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0AisReadonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_Response%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
    java.sql.SQLException: ORA-01401: inserted value too large for column
    Any thoughts?

    From the output, you are using imq 2.0. In that release
    the key used to persist a durable subscriber in the database
    table has a limit of 100 characters. The output shows that
    your value is:
    SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Res
    ponse%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0Ais
    Readonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_R
    esponse%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
    which is much longer than 100 characters.
    You might want to shorten the string you use for the
    durable name.
    And yes, the default file-based persistence store is
    more efficient when compared to the plugged-in persistence
    through a database.

  • API to set the value of Time to live in a NamedCache

    Hi,
    I need to set/re-set the time to live in a named cache through an API. Is there on available? If yes, can you pls give example.
    Regards
    Vidya

    Thanks for your reply.
    We have already used the put(key,value,ttl) API. This i believe is providing a TTL value for each cache entry.
    Our intent is to provide a setting/re-setting of the TTL value for the entire cache via API.

  • My laptop died last night and the date and time was set for 1/1/2000. I went to change the date and time and cannot. For some reason when i pull up system preferences it will not load date and time but will load other stuff. Please help.

    Last night my laptop died and the time and date was reset. I cannot acess date and time preferences to change it and my laptop is acting really weird. My CD drive is broken so there are no options to put in a cd. Please someone help i need my laptop for school and cannot afford another.

    Many system actions will misbehave, given an inaccurate date. Resetting the NVRAM and / or SMC will not fix it, and if the system has a preposterous date you may not be able to open System Preferences to correct it. This dilemma may or may not be addressed in a future OS X update.
    If you cannot open System Preferences you can reset your system date and time using Terminal.
    Please read everything that follows before proceeding. Write them down if necessary because the effects of setting a preposterous system date are unpredictable.
    Quit System Preferences, force quit if necessary: OS X: How to quit an unresponsive application using Force Quit
    Open Terminal - it is in your Utilities folder and looks like this
    You can find Terminal by using the Finder's Go menu and choosing Utilities, then double-click the Terminal icon.
    At the prompt, you will be typing a command resembling the following:
    sudo date mmddhhnnyyyy
    ... but you must substitute the actual date and time in the command that corresponds to the date format used for your location. In other words if your custom is to use a date like 8 February 2014 then reverse the mm and dd values.
    Substitute numerals in the above command according to the following:
    mm = month
    dd = date
    hh = hour (24 hour format)
    nn = minutes past the hour
    yyyy = year
    Each of those values must be two digits except for the year which can be two or four digits. As an example if the current date and time is February 8, 2014 at 9 PM your command will be the following:
    sudo date 020821002014
    or
    sudo date 0208210014
    Either one will work. If you enter nonsensical values the system will attempt to parse the entry correctly.
    To recover from your inability to use System Preferences to set the date and time, the value entered does not have to be precise, it just has to be approximate.
    Enter that command using the actual time and date for your location and in the appropriate format, then press the Return key. Terminal will ask for your Admin Password - the same one you use when you log in to your Mac. Type it and then press the Return key. What you type will not appear, not even with •••• characters.
    To determine if your change was effective just type the date command and press the Return key. Terminal will reply with the date and time. If it appears correct and in the correct format, you should be able to open System Preferences > Date & Time once again. Selecting the "Set time and date automatically" and choosing an appropriate time server will adjust your Mac's system clock to the precise time.

  • Why is the start-up time 5 minutes for Version 8?

    We installed LabVIEW 8 on 2 new PCs with Windows XP. On both machines the program needs 4 to 5 minutes to start. This is not acceptable.

    Thanks for all replies,
    I talked to NI and they do not have an explanation yet. Here is a more precise information:
    After program start it takes up to 3 minutes before the yellow start window appears which states
    "LabVIEW 8 - Base development system".
    After a total time of about 5 minutes the program finally starts with the browser window.
    1st PC used is:
    Hardware:
    HP Workstation xw4200 with Intel Pentium 4 CPU 3.40 GHz 1024 MB RAM
    Software:
    Windows XP SP1 Revision 5.1.2600
    2nd PC used is:
    Hardware:
    Dell Precision Workstation 670 with Xeon™ CPU 3.40 GHz 1024 MB RAM
    Software:
    Windows XP SP1 Revision 5.1.2600
    Best regards from Winni

  • In Earthlink Webmail, the "check all" and "delete" button for deleting multiple messages no longer function (although they work in I explorer).

    When using the webmail application for earthlink email, the "check all" option to select an entire page of messages at once no longer functions. Same problem with the "delete" buttons that are located at the top and bottom of the page with multiple messages. Consequently, the only way to delete a message is to open the message and delete it in that view -- extremely tedious if there are a lot of messages.
    This is a recent change, in the last few days. Everything works fine in I explorer. Earthlink support suggested I start Firefox in safe mode and restore firefox default settings. I went through the process on the help page. It didn't help.
    I'll provide the earthlink link, but it is my email page that is the problem.

    Same here.
    - select multiple mails with the SEARCH option (manually selecting seems to work fine)
    - click the move button
    - list of folders appears (witn account &amp; cancel options that both still work)
    - click on a folder
    - mail flies to this folder (animated)
    - list of folders remains visible
    - the cancel button does NOT work
    - the accounts button takes you back to the root "directory" of your accounts
    - in my case "live" and "exchange"
    - this screen is a dead end. Clicking on both the account names and the cancel button do not work
    A complete restart fixes the problem

  • Time bases delivery of a JMS message

    Hi ,
    Need some help around the weblogic jms server.
    The scenario is as follows a java application sends a message consisting of a IP address and Date.(Encapsulated as an Serializable object).
    My objective is to deliver the message thru the JMS, to a Session EJB on or just after the date specified .
    What I have done is to create a jms lookup on the client and then sending the message to a JMS Queue.
    Once the message has been send the client shuts down. A message bean gets activated and checks the date component. If the time difference between current time and date in the message is 0 or less it looks up the EJB and executes the required methods. If not it posts the message back into the queue.
    Problem : how to handle time delays from a few minutes to a few weeks. and to ensure the message is recieved at/or just after the targeted date. Max difference in target date and date of delivery between 10 secs to 15 minutes
    Sorry if this reads like a story but its true and I need this thing working ASAP .

    I would look into using MessageSelectors for this. They are pretty well documented by Weblogic.

  • How can I disable the "Cellular data is turned off for this app" message while on WiFi?

    Super annoying: all apps I disable cellular data for popup with this message while on WiFi. It makes total sense for the message to display while on cellular data, but how can I make it stop while I'm on WiFi?!?!

    I find it very frustrating that only some users like me but not all have this issue.. This is clearly a bug in within the newest update and it is the most annoying. Apple need to fix this. I have no data, it comes up, the wifi is on, it comes up. Regardless of what i do, On or Off and even restoring the device it still continues to do it. Anything posted about how to fix this issue "manually" will be disregarded until Apple tech fix the software issue..

  • What is the difference between sent and delivered for a text message?

    This is my first smart phone and I am getting a notification after I send the text message that the message has been sent.  Then I get a notification that the message has been delivered.  I have requested read receipts enabled on the phone.  Do these notifications pertain to that?

    Delivered only works with someone that has Verizon. Sent means it was sent but you don't know if their phone is on or not.

  • 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.
              >
              

  • How to set the date and time format from Windows Server 2008 R2

    Hi,
    I want to control my client's date and time format as dd/mm/yyyy format and I need to do it using the windows server 2008 R2. How can I achieve this goal?
    Yoshika04

    Hi,
    In Windows Server 2008 R2, you can use Regional Options Extension in Group Policy Preferences to configure the date and
    time format. For more information, please refer to:
    Regional Options Extension
    http://technet.microsoft.com/en-us/library/cc754496.aspx
    Regards,
    Bruce

  • Why is the 2-sec timer option unavailable on my Canon Camera eos t3i-eos600d

    Why is the 2-sec timer option unavailable for the Automatic shoot settings on my Canon Camera eos t3i-eos600? It is available on the manual settings.
    Solved!
    Go to Solution.

    Auto mode is a very limited mode. Try using Program until you learn how the other modes give you more control.
    "A skill is developed through constant practice with a passion to improve, not bought."

  • Rate of transfer of message from jms messaging bridge

    hi ,
    the domain description given below
    domain1
    adm_domain1
    managed01_domain1
    managed02_domain1
    cluster_domain1 consists of managed01_domain1,managed02_domain1
    I have one distributed queue say queueA, with two member queue
    queueA-managed01
    queueA-managed02
    i have a messaging bride bridgeA
    source queue: queueA
    target queue: target_queueA
    synchronous bridge: true
    batch size=10
    batch interval=500ms
    Now suppose the bridge bridgeA is stopped and souce queue has the following no. of messages
    queueA-managed01=1000
    queueA-managed02=1000
    At this point if i start the bridge , can it be estimated/calculated how much time will it take for all the messages to go through based on batch size or batch interval, assuming a good network speed?

    Batch Size: The number of messages that are processed within one transaction. (This setting only applies to messaging bridges that work in synchronous mode and whose QOS requires two-phase transactions.)
    Batch Interval:The maximum number of milliseconds that this messaging bridge will wait before sending a batch of messages in one transaction, regardless of whether the Batch Size has been reached or not. The default value of -1 indicates that the bridge will wait until the number of messages reaches the Batch Size before it completes a transaction.
    So batch interval (500ms) means the time the bridge will wait before sending a batch of messages in one transaction regardless of whether the Batch Size has been reached or not.
    So the question is in every 500ms how many mesages will it transfer in one transaction , is it 10 in this case? note that in the initial state each source physical member queue has 1000 messages each.
    Regards
    Deepak

Maybe you are looking for

  • Urgent plz help me.error fixing--full marks given

    Hi..this is regarding error fixing for prgm below in ecc 6.0 *& Report  ZCLEAREM REPORT  ZCLEAREM. TABLES: LFA1, LFB1, BSIK. PARAMETERS: CLRDATE LIKE BSIK-AUGDT. SELECT-OPTIONS:  ALLOCATE FOR BSIK-ZUONR,                  CLIENT   FOR BSIK-MANDT. DATA

  • When deleting the signature using Acrobat 9.0 -server threws an exception error displays

    Hi Everyone, I have built an application using VC++ ,in my application i try to sign a document using Acrobat 9.0 ,it gets properly signed and when i try to remove the signature it throws an exception that " Server threws an exception" ,the same code

  • My 4GB Ipod Mini Doesn't Work

    My Ipod Mini stopped working and anytime I try to charge it, the screen displays the Apple logo and then a low battery logo. I tried charging it for more than 12 hours, but the two pictures remain the same. Compaq   Windows XP  

  • Customise isupplier portal po.pdf report

    Hi Gurus, I have a requirement like, In isupplier portal R12.1.3 purchase order page Actions dropdownlist seaded purchase order details pdf report is there i.now i required to add extra some columans (attribute1 to 5) from po_line_locations_all table

  • Why mi iPhone can't do call ?

    I can't do my call, since  the  last operating system upgrade problems appeared in the call this problem is all the time.  What i can ?