camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Disappearing topics in routes
Date Thu, 23 Jun 2011 19:03:18 GMT

There are several things here

    a> Are the subscribers truly durable ? 
        In order to set up a durable subscription on a JMS endpoint, you
must specify a client ID, which identifies this particular connection, and a
durable subscription name, which identifies the durable subscriber. For
example, the following route sets up a durable subscription to the JMS
topic, news, with a client ID of conn01 and a durable subscription name of


Also check out this blog. It is pretty instructive 

    b> Setting the persistent to "true" makes the broker a persistent broker
however this is the default behavior of JMS per the JMS spec. The flag is
interesting when set to "false". Hence you do not buy anything by explicitly
setting this to true.

    c> Topics are only persistent if there are Durable subscribers, not
otherwise... Messages are discarded in the absence of durable subscribers as
there is no need to preserve them.



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

CamelOne 2011: 
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message