Nothing fancy or complicate just a processs like that :
- an inbound queue which will hold the incoming messages
- a consumer will take the message and post it on a different queue,
one for every contact destination;here occur the first level of
throttling and alarm, if more that X messages are in queue, a new
message will be posted with high priority with information about a
possible message storm.
- this contact destinations queues will be consumed(transfered) in a
transport queue, one for every possible destinations, which will have a
throttling mechanism, so we will not flood the SMTP or SMS gateway or
any other transport.
So I will not use the whole ActiveMQ, just basic queue and persistance.
And by the way, when is planned to release 4.0? :)
James Strachan wrote:
I'd recommend using 4.0-RC1 now which is looking very solid.
http://people.apache.org/~chirino/incubator-activemq-4.0-RC1/
James
On 3/29/06, Westelinck, Kenneth <[EMAIL PROTECTED]> wrote:
No. M4 contains nasty bugs. Use the snapshot instead.
-----Original Message-----
From: Adrian Tarau [mailto:[EMAIL PROTECTED]
Sent: Wed 29/03/2006 18:21
To: [email protected]
Subject: Re: Query the number of messages from a Queue
That's great, but is active 4.0 M4 stable enough?
James Strachan wrote:
On 3/29/06, Adrian Tarau <[EMAIL PROTECTED]> wrote:
I didn't say that JMX is a bad approach(JMX is great), just I image a
simple java call, ActiveMQManager.getMessagesCount(Queue queue) do to
the job.
You can look up all of these interfaces in JMX and use them as a POJO...
http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/jmx/package-summary.html
e.g.
http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/jmx/DestinationViewMBean.html
I'm in 3.2.2, so could you be more specific, where I can find the stats?
There are none in 3.x; this is why we've been working on 4.x for the
past year to add all of these stats :)
--
James
-------
http://radio.weblogs.com/0112098/
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager. This
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager. This
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
--
James
-------
http://radio.weblogs.com/0112098/