You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jim <fl...@yahoo.com> on 2013/01/24 16:47:57 UTC

Can ActiveMQ become as light and lean as possible?

Hi,
I need to use JMS and I am looking into using Active-MQ. 
But the issue I have is the following: I have really small needs and don't
need the full features offered. I mean I only need 1 protocol (TCP) and the
messages exchanged are small and simple.
What I need is: how can I *"strip" down* Active MQ into a minimal version to
fit my needs?
For example the current version along with the dependent libs is arround
45MB. This is too much, for features I don't need. Is there a guide or is it
possible to just use a "minimal" version of Active-MQ? I am essentially
looking for a lightweight JMS provider

Thank you!



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

Posted by Jim <fl...@yahoo.com>.
I apologize for my elementary/lamen question but I don't know Scala.What does
it mean that it requires Scala runtime?It is not possible to use Apollo in a
JRE-6?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662187.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

Posted by Christian Posta <ch...@gmail.com>.
Apollo is written in Scala/Java. It would require a Scala runtime to use.
Whittling down the broker (ActiveMQ 5.x  or Apollo) isn't documented
anywhere yet. I'll do that and respond back when I have it up.


On Thu, Jan 24, 2013 at 12:00 PM, Jim <fl...@yahoo.com> wrote:

> Also I see that the zip of Apollo is 28MB. To get it down to 7MB like you
> said is this documented?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662174.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: Can ActiveMQ become as light and lean as possible?

Posted by Christian Posta <ch...@gmail.com>.
Give this a shot with ActiveMQ 5.7.0:

http://www.christianposta.com/blog/?p=285


On Thu, Jan 24, 2013 at 1:21 PM, Jim <fl...@yahoo.com> wrote:

> Hi,
> So you mean I can't go bellow 28MB?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662189.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: Can ActiveMQ become as light and lean as possible?

Posted by Jim <fl...@yahoo.com>.
Hi,
So you mean I can't go bellow 28MB?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662189.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

Posted by Hiram Chirino <hi...@hiramchirino.com>.
That 28 MB includes the scala jar dependency which on it's own is about
7MB.  No, you can't avoid it.


On Thu, Jan 24, 2013 at 2:00 PM, Jim <fl...@yahoo.com> wrote:

> Also I see that the zip of Apollo is 28MB. To get it down to 7MB like you
> said is this documented?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662174.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 

**

*Hiram Chirino*

*Engineering | Red Hat, Inc.*

*hchirino@redhat.com <hc...@redhat.com> | fusesource.com | redhat.com*

*skype: hiramchirino | twitter: @hiramchirino<http://twitter.com/hiramchirino>
*

*blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>*

Re: Can ActiveMQ become as light and lean as possible?

Posted by Jim <fl...@yahoo.com>.
Also I see that the zip of Apollo is 28MB. To get it down to 7MB like you
said is this documented?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662174.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

Posted by Christian Posta <ch...@gmail.com>.
Was able to get Apollo down to ~7 MB (assuming you have scala on your
system)..

http://activemq.apache.org/apollo/




On Thu, Jan 24, 2013 at 9:21 AM, Christian Posta
<ch...@gmail.com>wrote:

>
> On Thu, Jan 24, 2013 at 8:47 AM, Jim <fl...@yahoo.com> wrote:
>
>> s
>
>
> I was able to whittle it down to ~8MB.... how small do you want it?
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: Can ActiveMQ become as light and lean as possible?

Posted by Jim <fl...@yahoo.com>.
But why did you mention Scala?Is it pre-requisite?I don't use Scala.Is that a
problem?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662172.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

Posted by Christian Posta <ch...@gmail.com>.
Apollo is a subproject of ActiveMQ, is active, and is supported by the
ActiveMQ developers.

Here are a couple blog posts about Apollo:

http://rajdavies.blogspot.com/2012/02/apache-activemq-apollo-10-is-released.html
http://hiramchirino.com/blog/2011/01/activemq-apollo-looking-impressive/
http://www.christianposta.com/blog/?p=262
http://www.christianposta.com/blog/?p=278





On Thu, Jan 24, 2013 at 11:08 AM, Jim <fl...@yahoo.com> wrote:

> I would prefer as minimalistic as possible.But if the min is just less than
> 10MB I am ok.
> I don't have Scala.
> Also what is Apollo? Different project?Is it active?Is it supported by the
> same as Active-MQ developers?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662164.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Re: Can ActiveMQ become as light and lean as possible?

Posted by Jim <fl...@yahoo.com>.
I would prefer as minimalistic as possible.But if the min is just less than
10MB I am ok.
I don't have Scala.
Also what is Apollo? Different project?Is it active?Is it supported by the
same as Active-MQ developers?



--
View this message in context: http://activemq.2283324.n4.nabble.com/Can-ActiveMQ-become-as-light-and-lean-as-possible-tp4662140p4662164.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Can ActiveMQ become as light and lean as possible?

Posted by Christian Posta <ch...@gmail.com>.
On Thu, Jan 24, 2013 at 8:47 AM, Jim <fl...@yahoo.com> wrote:

> s


I was able to whittle it down to ~8MB.... how small do you want it?


-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta