Re: Message timestamp and clock synchronization

2010-01-16 Thread Rob Davies
thanks fot the prompt - I think the TimestampingBrokerPlugin will help - it sets the timestamp on the broker - see http://activemq.apache.org/timestampplugin.html the src code is here: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/util/Tim

Message timestamp and clock synchronization

2010-01-16 Thread hackingbear
Hi, It seems that a message gets its timestamp at the producer side. The problem is that one cannot expect a sender has its system clock synchronized with that of the servers; neither the users know how to run/turn on the clock sync services. The two consequences are 1) the time-to-live message

Re: How to set message property in broker filter

2010-01-16 Thread hackingbear
Posting the online URL of itself should help: http://old.nabble.com/How-to-set-message-property-in-broker-filter-to26362561.html Thanks a lot!! rajdavies wrote: > > sry hackingbear - I can't remember the original context of this > conversation - a little help pls! :) > > cheers, > > Rob >

Re: How to set message property in broker filter

2010-01-16 Thread Rob Davies
sry hackingbear - I can't remember the original context of this conversation - a little help pls! :) cheers, Rob On 17 Jan 2010, at 00:52, hackingbear wrote: OK, got back to this. I tried and it still does not work. Here is how the codes for timestamping the message at the filter looks

Re: How to set message property in broker filter

2010-01-16 Thread hackingbear
OK, got back to this. I tried and it still does not work. Here is how the codes for timestamping the message at the filter looks like public void send(ProducerBrokerExchange producerExchange, Message msg) throws Exception { ActiveMQMessage amqmsg = (ActiveMQMessage)msg; Objec

Re: Could not connect to broker URL: tcp remote connection failure

2010-01-16 Thread quinn
That fixed the problem. Thanks very much! How would I have figured that out? I don't recall seeing 0.0.0.0 in any of the examples. Cheers. TQ rajdavies wrote: > > instead of defining tcp://localhost:port in your broker config - try > tcp://0.0.0.0:port > On 15 Jan 2010, at 22:43, quinn w