You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Arshad Ahamad <ar...@in.effectsoft.com> on 2006/06/29 14:17:04 UTC

How to achive Persistence for CMS

Hi all, 

     I am working cms(ActiveMQ-4.0) code on SuSe(Linux machine-> 
i686-suse-linux, version 2.6.13-15.8-default) , I am able to create the 
sender and receive code and these are working fine. But the thing is that I 
am not able the mentain the persistence in these code. I means whenever 
receiver is down and sender is sending the data and once the receiver will 
start this will not receive any data but I wants this so please help on this 
issue How I can get this data. 

                     Thanks in advance 


Regards
Arashad Ahamad

Re: [activemq-user] Queue and Persistence for CMS

Posted by Arshad Ahamad <ar...@in.effectsoft.com>.
Hi James.Strachan,
     I am working cms(ActiveMQ-4.0) code on SuSe(Linux machine->
 i686-suse-linux, version 2.6.13-15.8-default)

   You refer me to use Queue to mentain the persistence in the cms code, but 
this is Outstanding Item 
http://svn.apache.org/repos/asf/incubator/activemq/trunk/cms/docs/cms_overvi 
ew.pdf)    according to the documentation.
      If it is under developing by the ActiveMQ team, then my I ask you when 
it will develope because my work is delaying. If you have any other option 
to maintain the persistence Please refere me so that I can start my work.
                     Thanks in advance


 Regards
 Arashad Ahamad

Re: [activemq-user] How to achive Persistence for CMS

Posted by James Strachan <ja...@gmail.com>.
BTW the codehaus lists are no longer used.

If you use a queue rather than a topic then messages wait around until
a receiver comes back again.

I you are using a topic then messages are only dispatched from the
point of the subscription. However you can use persistent
subscriptions (and persistent message delivery) to ensure that
messages published while your consumer was down will be delivered when
your subscriber starts again.

It looks like CMS could do with a new method

  createDurableSubscriber(Topic topic, String subscriberName)

to create durable topic subscriptions. I've reaised a JIRA for this
http://issues.apache.org/activemq/browse/AMQ-779

BTW we might wanna make the CMS API polymorphic like JMS 1.1 is -
adding createConsumer/createProducer methods to Session - I created a
JIRA for that too...
http://issues.apache.org/activemq/browse/AMQ-778


On 6/29/06, Arshad Ahamad <ar...@in.effectsoft.com> wrote:
> Hi all,
>
>      I am working cms(ActiveMQ-4.0) code on SuSe(Linux machine->
> i686-suse-linux, version 2.6.13-15.8-default) , I am able to create the
> sender and receive code and these are working fine. But the thing is that I
> am not able the mentain the persistence in these code. I means whenever
> receiver is down and sender is sending the data and once the receiver will
> start this will not receive any data but I wants this so please help on this
> issue How I can get this data.
>
>                      Thanks in advance
>
>
> Regards
> Arashad Ahamad
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/