With which version subscriptionDurable="true"  option is available? I am 
working with 3.1.2 and I am getting below mentioned error.
   
  Caused by: org.springframework.beans.InvalidPropertyException: Invalid 
property 'subscriptionDurable' of bean class 
[org.apache.servicemix.jms.JmsEndpoint]: No property 'subscriptionDurable' found

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/


       
---------------------------------
Shape Yahoo! in your own image.  Join our Network Research Panel today!

Reply via email to