activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: facility for temporary connections?
Date Mon, 29 Mar 2010 08:17:37 GMT
Hi Joe,

the main question is do you really need that many clients and can you
redesign your system to use smaller number of clients and selectors for

as of scaling, the best starting point to scaling the broker is this

and looking into


provided with the ActiveMQ distribution.

You may also want to consider creating a network of brokers for this task.

As long as restraining number of connections, you can take a look here

for the similar feature. Just that it throws an exception instead of waiting
for the connection to be stopped. Finally, you can write a plugin

that will do what you want.

Dejan Bosanac -

Open Source Integration -
ActiveMQ in Action -
Blog -

On Sun, Mar 28, 2010 at 4:33 PM, joe <> wrote:

> Hi,
> I am searching for a kind of MOM technology and played around with ActiveMQ
> in the last weeks.
> The beginning was/is quite hard for me, but with the MEAP of "ActiveMQ in
> Action" and the docs on your pages i made some progress. ;)
> For our requirements ActiveMQ looks promising, but there is one thing i am
> not sure about.
> We have one central server where a scheduler is running. This scheduler
> produces jobs for clients(machines in the network). Most of the jobs are
> scheduled between 02.00-05.00 but some are scheduled at other times. This
> can be defined by the users.
> Cause we need to support many clients (30-5000) i am not sure the broker is
> able to handle so many client connections regarding the needed threads.
> Searching the web, it seems possible to tune ActiveMQ to handle so many
> connections, but it seems to be quite difficult/tricky.
> Consindering our requirenments, its not needed that the MOM holds a
> connection to every client at every time. For us it would be ok if the
> broker establishes a connection when the connection is needed, then sending
> the message and then close the connection.
> Is there a facility to use ActiveMQ in this way?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message