activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astlm <monica.astudi...@tic.alten.es>
Subject Re: Priority message
Date Tue, 15 Jun 2010 06:54:11 GMT

I'm sorry but I did not understand how Resequencer work on, I have read in
more detail how it works, and although not ideal, because only order a
number of messages or messages received over a period time, It can be a
solution.
I think I have to define two queues, one for input and another oner for
output.
Is only necesary to define on broker.xml the Resequencer?

<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
  <route>
    <from uri="input" />
    <resequence>
      <simple>body</simple>
      <to uri="output" />
      <batch-config batchSize="300" batchTimeout="4000" 
allowDuplicates=true reverse=true />
    </resequence>
  </route>
</camelContext>

With these configuration, The producer connect with input queue and the
consumer with output queue.

Thank you. 



James.Strachan wrote:
> 
> On 14 June 2010 14:10, astlm <monica.astudillo@tic.alten.es> wrote:
>>
>> Thank you very much for your reply.
>>
>> But these optios are not valid for my system.
> 
> Why?
> 
> 
>> I need order message by priority on real time and I have only one
>> consumer
>> because the consumer send message another sistem wich it┬┤s very slow.
> 
> Why doesn't the Resequencer work for you then - using it before you
> send to another system?
> 
> 
>> When does active-mq  implement the management of priorities from queue?
>>
>> This are ok on next versions?
> 
> ActiveMQ 6.x might implement JMS Priorities
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://fusesource.com/
> 
> 

-- 
View this message in context: http://old.nabble.com/Priority-message-tp28878604p28887814.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message