Re: [Dev] WSO2MB topics where messages are automatically cleared

2014-05-20 Thread Ishara Premadasa
Hi Udara,

Can you please tell us what is your exact requirement? In general if you
use normal topics the messages will be discarded anyway if there is no
consumer currently available. However if you use queues/durable topics WSO2
MB do not delete the messages regardless of they have consumers or not.
They will be persisted in the broker till a consumer comes sometime and
receives them.

There is a JMS message header called 'JMSExpiration' where JMS providers (
the broker) set this field when a message is sent. When a message's
expiration time is reached, the provider should discard it [1]. However we
currently do not support this feature yet.

Thanks!
Ishara
[1]
http://docs.oracle.com/javaee/5/api/javax/jms/Message.html#getJMSExpiration%28%29



On Tue, May 20, 2014 at 8:38 PM, Udara Liyanage  wrote:

> Hi,
>
> Is there any type of queue/topic in MB where messages are deleted
> automatically after sometime if they are not consumed.
> Please point me to a doc if available.
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ishara Premasada
Software Engineer,
WSO2 Inc. http://wso2.com/


*Blog   :  http://isharapremadasa.blogspot.com/
Twitter   :
https://twitter.com/ishadil Mobile   : +94
714445832*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2MB topics where messages are automatically cleared

2014-05-20 Thread Udara Liyanage
Hi,

Is there any type of queue/topic in MB where messages are deleted
automatically after sometime if they are not consumed.
Please point me to a doc if available.



Touched, not typed. Erroneous words are a feature, not a typo.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev