Bruce,
  Thanks for your reply. This configuration provides facility for durable 
sunscriber for a jms consumer. How ever where should I provide configuration 
details that jms provider should persist the message and details for 
persistence store? 
  Thanks
  Kumar

Bruce Snyder <[EMAIL PROTECTED]> wrote:
  On 10/5/07, kumar k wrote:
> How do we specify (tell) to jms component/connection factory that message 
> should be persisted if a durable subscriber is not up. When the subscriber 
> becomes up then the message should be delivered.

Using the new JMS endpoints you can specify many more options. For
message durability, the JmsConsumerEndpoint offers the
setSubscriptionDurable() method. The configuration for this new
endpoint with these options would look like this:



service="foo:myJmsConsumerService"
endpoint="endpointX"
targetService="bar:theNextService"
targetEndpoint="endpointY"
destinationName="queueA"
subscriptionDurable="true"
connectionFactory="#connectionFactory" />

brokerURL="tcp://localhost:61616" />



For more information on the new JMS endpoints, see the docs here:

http://incubator.apache.org/servicemix/servicemix-jms-new-endpoints.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E);'

Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/


       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 

Reply via email to