I just back ported the new stomp stuff to the 4.0 branch. So ActiveMessaging should work with ActiveMQ in the next 4.0.2 release also.
On 7/4/06, James Strachan <[EMAIL PROTECTED]> wrote:
To make it easier to track in future releases I've raised this JIRA... http://issues.apache.org/activemq/browse/AMQ-793 On 7/4/06, gard <[EMAIL PROTECTED]> wrote: > > Hi, > > I am experiencing that messages are not removed from the queue when using > Stomp(Ruby) standalone and when using the ActiveMessaging plugin for Rails. > I assume this has to do with the client not acknowledging the message. Is > there anywhere I need to configure this in the amq config file? I havent > found anything about this in the documentation for amq. > > The message is received in the client but it is not removed from the amq > queue. So if the client is restarted the message is redelivered which is not > desired. > > I am using incubator-activemq-4.0.1 and the latest ActiveMessaging trunk. > > Sample client producer ------ > begin > load '../../config/messaging.rb' > rescue MissingSourceFile > puts "error" > end > class CatchallProd > > include ActiveMessaging::MessageSender > > publishes_to :catchall_service > > def say_hello > publish :catchall_service, "<say>Hello World!</say>" > end > > end > > p = CatchallProd.new > p.say_hello > > ---------------------------------- > Sample consumer --------------- > > class CatchallServiceProcessor < ActiveMessaging::Processor > subscribes_to :catchall_service > def on_message(message) > puts "received: " + message > end > end > > ------------------------------ messaging.rb > ActiveMessaging::Gateway.define do |s| > s.queue :catchall_service, '/queue/Catchall Service' > end > -- > View this message in context: http://www.nabble.com/Stomp-and-ActiveMessaging-does-not-remove-messages-from-Queue-tf1889402.html#a5165844 > Sent from the ActiveMQ - User forum at Nabble.com. > > -- James ------- http://radio.weblogs.com/0112098/
-- Regards, Hiram Blog: http://hiramchirino.com
