activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Chayapathi <sand...@wssource.com>
Subject Re: Topology Question
Date Mon, 28 Aug 2006 14:21:10 GMT
Hi,
 Thanks. I have tried to create durable subscription, via Stomp, as 
documented here: http://incubator.apache.org/activemq/stomp.html
but to no avail.  Here is the CONNECT & SUBSCRIBE block that Im sending 
to the server:

=======
CONNECT
client-id:test
passcode:password
login:user
=======

------
SUBSCRIBE
activemq.SubscriptionName:test
destination:/topic/test
ack:auto
session:test
------

Im using ActiveMQ 4.0.2.

- Sandeep

James Strachan wrote:
> Either use a topic and durable subscriptions for each consumer or use
> virtual topics to achieve the same kind of thing but allowing you to
> use queues to consume
>
> http://activemq.org/site/new-features-in-41.html
>
> On 8/22/06, Sandeep Chayapathi <sandeep@wssource.com> wrote:
>> Hi,
>>  I have a system where multiple consumers need to process the same
>> message. For eg: one consumer, generates a email based on the message
>> and another consumer applies some business rule on the same message, and
>> so on.
>>
>>  Initially I had a topic so that all the consumers would receive the
>> message. However I need to ensure that if a consumer had to be stopped &
>> restarted, it would process all the message that it missed.  I could
>> setup a queue for each consumer, but since the consumers can be
>> added/removed dynamically, it is ruled out. Any idea on how I should
>> setup activemq for this ? Thanks.
>>
>> - Sandeep
>>
>
>


Mime
View raw message