Hi Waruna,

I found this [1]. It says TopicSession.createDurableSubscriber instead of
TopicSession.createSubscriber

[1]
http://docs.oracle.com/javaee/1.3/jms/tutorial/1_3_1-fcs/doc/advanced.html#1024758
Regards,
AmilaM.

On Sun, Apr 1, 2012 at 10:58 AM, Waruna Ranasinghe <[email protected]> wrote:

> Link to the tutorial
>
> [1] - http://wso2.org/library/articles/2011/12/wso2-esb-example-pubsub-soa
>
>
> On Sun, Apr 1, 2012 at 10:44 AM, Waruna Ranasinghe <[email protected]>wrote:
>
>> Hi folks,
>>
>> I tried to extend the JMS Java subscriber, provided at tutorial [1], to
>> be a durable subscriber.
>> I added the following property
>>   properties.put("transport.jms.SubscriptionDurable", true);
>> Then stop the jms client and send some messages to the topic. But when I
>> start the jms client, it does not receive the messages.
>>
>> Can some one let me know how to create a durable subscriber.
>> My requirement is to receive the messages when the jms subscriber comes
>> online.
>>
>>
> Thanks,
>> Waruna
>>
>>
>> --
>> -------------------------------------------------------------------------
>> Waruna Ranasinghe
>> Senior Software Engineer, WSO2
>>
>> Mobile: +94 724 318285
>> BLOG: http://warunapw.blogspot.com
>>
>> www.wso2.com - "Lean . Enterprise . Middleware"
>>
>
>
>
> --
> -------------------------------------------------------------------------
> Waruna Ranasinghe
> Senior Software Engineer, WSO2
>
> Mobile: +94 724 318285
> BLOG: http://warunapw.blogspot.com
>
> www.wso2.com - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Amila Maharachchi*
Senior Software Engineer; WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to