Then your going to have to stop/suspend the Accept thread for the
server socket or accept the connection but then shut it down.
On Tue, Sep 2, 2008 at 5:55 PM, Bruce Snyder <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 2, 2008 at 3:37 PM, Hiram Chirino <[EMAIL PROTECTED]> wrote:
>> AOP won't help since the client is going to be in a different JVM the
>> server. So there is no server logic that can control the client until
>> the client connects.. and it seems your too late at that point.
>
> I'm not looking to control connections from the client side. I want to
> be able to limit the number of client connections from the broker
> side.
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)[EMAIL
> PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
>
> Blog: http://bruceblog.org/
>
--
Regards,
Hiram
Blog: http://hiramchirino.com
Open Source SOA
http://open.iona.com