Difference between durablity and persistance

hi,
I am new to JMS and could anyone tell me what is the difference between durablity and persistance?
As far as i understood, persistance is with respect to the JMS Provider. Say, for example when the JMSProviderServer crashes, and if the message is persistant(by setting as a parameter in setDeliveryMode() method), when the server starts up, the message will be reaching the intended Message Consumers.
Durability is with respect to the Message Consumers. If the message consumers are subscribed as durable, then even if they are not active they will receive the message when they get connected to the Provider at a later time.
Is my understanding right?
If it is, i am getting one more doubt. What happens, if i set the message as nonpersistant type and publish to a topic and the durable subscriber is not active when the message is published? Will the durable subscriber be able to get the published message, when it becomes active again?
thanks,
desigan

Your understanding is correct. Messages can be persistent. Subscribers can be durable.
The specification is somewhat loose on non-persistent messages being sent to an inactive durable subscriber. First of all anything that is non-persistent is already a candidate for being dropped at anytime. Having said that, it is anti-social to drop messages, even for inactive durable subscribers.
Mileage varies by vendor though. Check for yourself to be sure.

Similar Messages

  • Difference between Durable and Transient Processes

    According to the BPEL Administrator Guide it mentions on p.3.2 that "The synchronous process you design in JDeveloper BPEL Designer is an example of a transient process" - hence no dehydration activity. However below it mentions that a Durable process that contain a Receive will have a dehydration activity- but the above statement contradict this - please explain.
    And what about the Pick activity?

    Durable process: long running
    Has mid process breakpoint activities (Receive, onMessage, onAlarm, Wait)
    Or, Has non-idempotent invoke
    Or, Has non-blocking invoke
    like Loanflow
    Transient process: short lived
    No mid process breakpoint activities (Receive, onMessage, onAlarm, Wait)
    And, No non-idempotent invoke
    And, No non-blocking invoke
    like (Helloworld)
    check out the performance webinar, explaining this in detail (otn.oracle.com/bpel -> webinars)
    hth clemens

  • Regional Settings differences between 2008 and 2012

    Hi There,
    Can anyone explain why some of the regional setting details have changed with Win 2012?
    Example: Dutch (Belgium) - nl-BE
    The 'Digital Grouping Symbol' has changed from a DOT to a WHITESPACE.
    2008 - €1.000,00 whereas 2012 - €1 000,00
    If the settings are changed on the servers will they persist after OS updates etc?
    Rgds,
    Frank

    Hi Vivian,
    I see no reference in the KB article to modifications for the CET timezone nor any reference to the resolution of culture format info discrepancies.
    A further issue is that the active regional settings on our PRD servers will be set to United States and it would appear that any modification to the Belgium locales (i.e. nl-BE, fr-BE) are not persisted once you switch to United States as the
    active setting.
    The knock on effect of this is that for our PRD web-applications (which are active across many regions), we have to write code to override the OS information. .NET uses the OS info to populate its Culture information.
    Could you confirm if the differences between 2008 and 2012 are the result of a bug or are the changes planned? Based on communication with some of our customers in Belgium, they are of the opinion that the 2008 (and Win 2003) settings are per their expectations.
    I really do not what to have to handle these situations across our application landscape and am sure that other people with globalized applications will also hit problems.

  • Differences between cookies and sessions

    Hi there,
    I want to learn the differences between sessions and cookies in PHP.Please help me.
    Please let me know if there any video demonstrations that explain sessions and cookies.
    Thanks in advance.

    Cookies and server side sessions are related in that they are both ways to persist data. This is required because of the fact that http is a stateless protocol, meaning that each request and response are independent transactions. Cookies are stored on the client. You might use them to store the contents of a shopping cart, or a user login id for a particular site. Or you could store a setting so that the user is automatically logged in, similar to what occurs here in the adobe site / forums. You can set various options for when cookies expire. Cookies that persist when the browser is closed are store in files, otherwise they could be store in memory only. Cookies can be created using either client or server side code.
    Server side sessions are created on the server with a server side scripting language. A session id is generated and stored as a token on the client (in an in memory cookie) so that the server can track requests from the same originating client. Session variables are ways to store data related to the session on the server. Sessions use server resources which is why you should only use them when necessary and destroy them when done. When the session is destroyed, the session variables are gone so if you want to keep them for later you can store them in a database or store them in a cookie.
    HTTP cookie - Wikipedia, the free encyclopedia
    Hope that helps

  • What are the differences between Oracle and other NoSQL database

    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?
    Is Oracle NoSQL database link with Big Data Appliance?
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?
    Do we also have eventual consistency with Oracle NoSQL database? Can we lose data if master node fails?
    Are transactions ACID with Oracle NoSQL database? How can we prove it?
    Thanks.

    893771 wrote:
    Hi all,
    I would like to know what the differences between Oracle and other NoSQL database are.
    When and why should we use Oracle?I suggest that you start here:
    http://www.oracle.com/technetwork/database/nosqldb/overview/index.html
    Is Oracle NoSQL database link with Big Data Appliance?Yes, Oracle NoSQL Database will be a component of the Big Data Appliance.
    Can we use map-reduce on a single personal computer? How should we install Oracle NoSQL database to use map reduce on a single personal computer?Yes, I believe you can run M/R on a single computer. Consult the various pieces of documentation available on the web. You may run Oracle NoSQL Database on the same computer that you are running M/R on, but it is likely that they will compete for CPU and IO resources and therefore performance may suffer.
    Do we also have eventual consistency with Oracle NoSQL database? Yes.
    Can we lose data if master node fails?If you run Oracle NoSQL Database with the default (recommended) durability settings, then if the master fails, a new one will be elected and data is not lost.
    Are transactions ACID with Oracle NoSQL database? How can we prove it?Yes, each operation is executed in an ACID transaction. The API has the concept of "multi" operations which allow the caller to perform multiple operations on sets of records with the same major key, but different minor keys. Those operations are also performed within a transaction.
    Charles Lamb

  • Difference Between Aggregates and Compression

    Hi,
    Can you tell me what is the difference between Aggregates and Compression?
    I know ,once compressed data is not available for deletion in request wise
    and it moves from  F table to E table .
    Aggregates means ,data will move from cube to aggreagates(Baby cubes).
    But my query is ,As both of them aggregates the data.which of them should be used. at what situation?
    I hope you understood my Query.
    Regards.
    Naresh.

    Hi,
    An aggregate is a materialized, aggregated view of the data in an InfoCube. In an aggregate, the dataset of an InfoCube is saved redundantly and persistently in a consolidated form into the database.
    Aggregates make it possible to access InfoCube data quickly in Reporting. Aggregates serve, in a similar way to database indexes, to improve performance.
    especially in the following cases we create aggregates:
    The execution and navigation of query data leads to delays with a group of queries.
    You want to speed up the execution and navigation of a specific query.
    You often use attributes in queries.
    You want to speed up reporting with characteristic hierarchies by aggregating specific hierarchy levels.
    For more info on aggregates go though the link below
    https://help.sap.com/saphelp_sem320bw/helpdata/en/c5/40813b680c250fe10000000a114084/frameset.htm
    Compression creates a new cube that has consolidated and summed duplicate information.
    2. When you compress, BW does a group by on dimensions and a sum on measures... this eliminates redundent
    information.
    3. Compressed infocubes require less storage space and are faster for retrieval of information.
    4. Once a cube is compressed, you cannot alter the information in it. This can be a big problem if there
    is an error in some of the data that has been compressed.
    For more info go though the below link
    http://www.sap-img.com/business/infocube-compression.htm
    Regards,
    Marasa.

  • Whats the Difference between DLP and IRM?

    Hey guys, can someone explain to me what's the difference between DLP and IRM in Exchange  2013, I have to protect some messages sent from my managers so that unauthorized users can't read the messages and they can't forward
    them externally.
    Thanks.

    Hi Radray,
    We can use IRM features to apply persistent protection to messages and attachments in Exchange 2013.
    IRM uses Active Directory Rights Management Services, an information protection technology in Windows Server 2008 and later. With the IRM features in Exchange 2013, the organization and users can control the rights recipients have for e-mail.
    For more information, here is an article for your reference.
    Information Rights Management
    http://technet.microsoft.com/en-us/library/dd638140(v=exchg.150).aspx
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Difference between stateful and stateless session beans

    can any body explain simply what is the difference between stateful and stateless session beans? also in what kind of situations we can use these.

    Hi
    This is the classificatio os Session Bean.
    (1) Statfull
    (2) Stateless
    Stateful means u will persists the state of the object.
    USESE:
    In a Banking system u can use the statful session just for maintaing the
    state.
    (2) STATELESS: that's mean u do't want to persists any state of the object. that's mean a single Request is coming ,do the desire and give the output.
    EX: A Credit Card System is the Example of Stateless.
    May it will helpfull to understands u. if any need write here
    saM

  • Difference between genKeyPair() and buildKey()

    I am developing a java card applet which requires key generation. I have to know the exact difference between KeyBuilder and KeyPair. I also want to know the difference between buildKey and KeyPair.
    If buildKey() can be used to generate RSA Public Key and Private Key, How the relationship between the public key and private key is maintained.?
    What type of memory is used by the genKeyPair() method. Transient or Persistent ?.
    For Key Generation what method is recommended?

    Hi,
    Rajesh_Ramachandran wrote:
    I am developing a java card applet which requires key generation. I have to know the exact difference between KeyBuilder and KeyPair. I also want to know the difference between buildKey and KeyPair.
    If buildKey() can be used to generate RSA Public Key and Private Key, How the relationship between the public key and private key is maintained.?buildKey is not used to generate a key. From the javadoc +"Creates uninitialized cryptographic keys for signature and cipher algorithms. Only instances created by this method may be the key objects used to initialize instances of Signature, Cipher and KeyPair. Note that the object returned must be cast to their appropriate key type interface."+.
    What this means is that you still need to set the key material before the key becomes initialised. These objects have no cryptographic value (or usage) until the key material has been set. KeyPair on the other hand will generate a key pair for the given algorithm that you can then get the public and private key from to use in your cryptographic operations.
    What type of memory is used by the genKeyPair() method. Transient or Persistent ?.This would be implementation specific. From my understanding, it is common for a smart cards to have RAM dedicated to cryptographic operations to help improve performance. In these cases, as much of the work as possible is done in transient RAM. For key objects, it is possible to specify where the key material is stored. This is specified when you create the key object (e.g. KeyBuilder.TYPE_DES_TRANSIENT_RESET).
    For Key Generation what method is recommended?The only way to generate a key pair in JC 2.2.1 on card is with the KeyPair class.
    Cheers,
    Shane

  • Difference between Null and null?

    What is the difference between null and NULL?
    When is each used?
    Thanks,

    veryConfused wrote:
    There is a null in java, but no NULL. null means no value. However, when assigning value, the following is different:Although the empty String has no special role. Null means, the referential type is not assigned (doesn't refer) to a specific object. The empty String is just another object though, so seeing it or pointing it out as something special when it actually isn't at all (no more special than new Integer(0) or new Object[0]) just adds to the confusion.

  • Difference between GUI_UPLOAD and WS_UPLOAD

    Hi,
    Please make me clear about the difference between GUI_UPLOAD and WS_UPLOAD. In which cases we need to use these modules...??
    Thanks,
    Satish

    I would suggest to always use the GUI_UPLOAD.  I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.   Really, you should probably use the class/method instead of the function module.
      data: filename type string.
      filename = p_file.
      call method cl_gui_frontend_services=>gui_upload
             exporting
                  filename                = filename
                  filetype                = 'ASC'
             changing
                  data_tab                = iflatf
             exceptions
                  file_open_error         = 1
                  file_read_error         = 2
                  no_batch                = 3
                  gui_refuse_filetransfer = 4
                  no_authority            = 6
                  unknown_error           = 7
                  bad_data_format         = 8
                  unknown_dp_error        = 12
                  access_denied           = 13
                  others                  = 17.
    Regards,
    Rich Heilman

  • Difference between char and varchar, also the difference between varchar2

    Hi,
    Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...

    Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
    Example 1:
    SQL> create table tchar(text1 char(10), text2 varchar2(10))
    2 /
    Table created.
    SQL> insert into tchar values('krystian','krystian')
    2 /
    1 row created.
    SQL> select text1, length(text1), text2, length(text2)
    2 from tchar
    3 /
    TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
    krystian 10 krystian 8
    Example 2:
    create table tvarchar(text varchar(10))
    SQL> select table_name,column_name,data_type
    2 from user_tab_columns
    3 where table_name = 'TVARCHAR'
    4 /
    TABLE_NAME COLUMN_NAME DATA_TYPE
    TVARCHAR TEXT VARCHAR2
    Best Regards
    Krystian Zieja / mob

  • The difference between Lion and Mountain Lion

    Can some one explain to me the difference between Lion and Mtn Lion? I'm currently 10.6.8 Is it beneficiall for me to upgrade?

    Mountain Lion is an enhanced version of previous OS X and so that is Mavericks.
    About upgrading it all depends on what your needs are and if your hardware supports it.
    System requirements for OS X Lion
    System requirements for OS X Mountain Lion
    OS X Mavericks: System Requirements
    Please check also applications compatibility. From Lion onward, you cannot run PPC application.

  • The difference between N80 and N80IE ?

    What is the difference between M80 and N80ie?

    02-Jan-2007
    07:45 PM
    korngear wrote:
    The Nokia N80 Internet Edition is a new version of this handset with the same hardware as the normal N80. It is due for release in Q4 of 2006 and will be available in Patina Bronze or Pearl Black, and has the following additional software included.
    Yahoo Go! for Mobile
    Flickr
    Some Amazon Branded Software
    'Download!' App management
    Internet Telephone - SIP VOIP Frontend
    WLAN Wizard
    Gizmo VOIP - Gizmo Project VOIP Frontend.
    \\en.wikipedia.org//
    @Korngear
    Thanks.
    Could N80 be upgraded to N80IE?

  • The difference between SFP+ and X2

    Dear Expert,
    I need to know what is the difference between SFP+ and X2! and can I use SFP+ card and module instead of X2?
    Thanks,
    Mohammad Saeed

    Hi,
    They are both used for 10Gig interfaces.  The difference is the connector type.
    SFP+ is LC and X2 is SC.
    You can not put an SFP+ into an X2 slot or X2 optic into a SFP+.
    HTH

Maybe you are looking for

  • Fast migration from MacBook Pro to MacBook Air

    Hello I have ordered a MacBook Air and will migrate from my battered MBP15 mid-2009. I understand the process and software sides well but I have two hardware questions: 1) Migrating to an SSD Folk wisdom when migrating to a spinning hard disk is to s

  • How can I find out which features will not available due to compatibility?

    I want to find out which features will not be available for 11.2.0.1.0 when the compatible parameter is set to 10.2.0.1.0. Thanks.

  • How to modify transmit power output in my WRT1900AC ?

    Hi Guys, I just opened up my new WRT1900AC, I love it so far. However I have one or two problems, that someone can help me resolve 1. I want to adjust the transmit power, on 2.4 and 5.0, like I can in my old Airport Extreme. Can I do this on a WRT190

  • Save in Elements (10) Organizer

    Each time I save a processed foto into my destination folder I have to untick the above box. I cannot find any Preferences which allow me do that permanently. Can anyone help?

  • QT X can't read .mov and iMovie too

    Hi everybody, I've got a big problem, with my video part on my MacBook, i cannot read any .mov file. When I that I cannot, i try to uninstall QTX but it's a very bad idea. To reinstall it, i had to use Pacifist to extract and install QT X. But my pro