ActiveCluster move to ActiveMQ

View: New views
14 Messages — Rating Filter:   Alert me  

ActiveCluster move to ActiveMQ

by ben.kibler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It appears that new development in ActiveCluster has moved to the ActiveMQ
project, and there are no new standalone releases of ActiveCluster since
rel 1.0.

Looking at the ActiveCluster build file in Apache SVN
(https://svn.apache.org/repos/asf/incubator/activemq/trunk/activecluster/pom.xml)
 it appears that ActiveCluster is completely dependent on ActiveMQ as well.

I've been using ActiveCluster for some time now with other JMS
implementations, and would like to continue doing so.

Is there a version 1.1 or greater distribution of ActiveCluster (including
Destination serialisation fix, http://jira.activemq.org/jira/browse/ACL-6)
available as a standalone JAR file somewhere?  Is there intent to maintain
ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?

Thanks,
Ben



This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

Re: ActiveCluster move to ActiveMQ

by Jonathan Duty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ben,
I have been listening of this list for a few months and never given a  
response to any of my questions, and I have seen 0 activity.  I  
finally had to go post to the activemq list.  I'm guessing if you  
want a response from the core developers you will need to do that also.

~Jonathan

On Feb 28, 2006, at 3:10 PM, ben.kibler@... wrote:

> It appears that new development in ActiveCluster has moved to the  
> ActiveMQ
> project, and there are no new standalone releases of ActiveCluster  
> since
> rel 1.0.
>
> Looking at the ActiveCluster build file in Apache SVN
> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
> activecluster/pom.xml)
>  it appears that ActiveCluster is completely dependent on ActiveMQ  
> as well.
>
> I've been using ActiveCluster for some time now with other JMS
> implementations, and would like to continue doing so.
>
> Is there a version 1.1 or greater distribution of ActiveCluster  
> (including
> Destination serialisation fix, http://jira.activemq.org/jira/browse/ 
> ACL-6)
> available as a standalone JAR file somewhere?  Is there intent to  
> maintain
> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?
>
> Thanks,
> Ben
>
>
>
> This communication is for informational purposes only. It is not  
> intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All  
> market prices,
> data and other information are not warranted as to completeness or  
> accuracy and
> are subject to change without notice. Any comments or statements  
> made herein
> do not necessarily reflect those of JPMorgan Chase & Co., its  
> subsidiaries
> and affiliates.


Re: ActiveCluster move to ActiveMQ

by rajdavies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jonathan,

apologies if we've missed you're questions - but as we've moved to  
apache - we've been concentrating on the apache mailing lists - as we  
really want the community to grow there.

cheers,

Rob

On 28 Feb 2006, at 20:27, Jonathan Duty wrote:

> Ben,
> I have been listening of this list for a few months and never given  
> a response to any of my questions, and I have seen 0 activity.  I  
> finally had to go post to the activemq list.  I'm guessing if you  
> want a response from the core developers you will need to do that  
> also.
>
> ~Jonathan
>
> On Feb 28, 2006, at 3:10 PM, ben.kibler@... wrote:
>
>> It appears that new development in ActiveCluster has moved to the  
>> ActiveMQ
>> project, and there are no new standalone releases of ActiveCluster  
>> since
>> rel 1.0.
>>
>> Looking at the ActiveCluster build file in Apache SVN
>> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
>> activecluster/pom.xml)
>>  it appears that ActiveCluster is completely dependent on ActiveMQ  
>> as well.
>>
>> I've been using ActiveCluster for some time now with other JMS
>> implementations, and would like to continue doing so.
>>
>> Is there a version 1.1 or greater distribution of ActiveCluster  
>> (including
>> Destination serialisation fix, http://jira.activemq.org/jira/ 
>> browse/ACL-6)
>> available as a standalone JAR file somewhere?  Is there intent to  
>> maintain
>> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?
>>
>> Thanks,
>> Ben
>>
>>
>>
>> This communication is for informational purposes only. It is not  
>> intended
>> as an offer or solicitation for the purchase or sale of any financial
>> instrument or as an official confirmation of any transaction. All  
>> market prices,
>> data and other information are not warranted as to completeness or  
>> accuracy and
>> are subject to change without notice. Any comments or statements  
>> made herein
>> do not necessarily reflect those of JPMorgan Chase & Co., its  
>> subsidiaries
>> and affiliates.
>


Re: ActiveCluster move to ActiveMQ

by Jonathan Duty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ahh, cool.  I wasn't complaining.  Just trying to help Ben get his  
question answered.  I'm very happy with ActiveCluster and I'm glad to  
know it is still alive and well.

Just curious, what mailing list?  I don't see an activecluster  
project in the incubator.

~Jonathan

On Feb 28, 2006, at 5:26 PM, Rob Davies wrote:

> Hi Jonathan,
>
> apologies if we've missed you're questions - but as we've moved to  
> apache - we've been concentrating on the apache mailing lists - as  
> we really want the community to grow there.
>
> cheers,
>
> Rob
>
> On 28 Feb 2006, at 20:27, Jonathan Duty wrote:
>
>> Ben,
>> I have been listening of this list for a few months and never  
>> given a response to any of my questions, and I have seen 0  
>> activity.  I finally had to go post to the activemq list.  I'm  
>> guessing if you want a response from the core developers you will  
>> need to do that also.
>>
>> ~Jonathan
>>
>> On Feb 28, 2006, at 3:10 PM, ben.kibler@... wrote:
>>
>>> It appears that new development in ActiveCluster has moved to the  
>>> ActiveMQ
>>> project, and there are no new standalone releases of  
>>> ActiveCluster since
>>> rel 1.0.
>>>
>>> Looking at the ActiveCluster build file in Apache SVN
>>> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
>>> activecluster/pom.xml)
>>>  it appears that ActiveCluster is completely dependent on  
>>> ActiveMQ as well.
>>>
>>> I've been using ActiveCluster for some time now with other JMS
>>> implementations, and would like to continue doing so.
>>>
>>> Is there a version 1.1 or greater distribution of ActiveCluster  
>>> (including
>>> Destination serialisation fix, http://jira.activemq.org/jira/ 
>>> browse/ACL-6)
>>> available as a standalone JAR file somewhere?  Is there intent to  
>>> maintain
>>> ActiveCluster as a standalone cluster API, not dependent on  
>>> ActiveMQ?
>>>
>>> Thanks,
>>> Ben
>>>
>>>
>>>
>>> This communication is for informational purposes only. It is not  
>>> intended
>>> as an offer or solicitation for the purchase or sale of any  
>>> financial
>>> instrument or as an official confirmation of any transaction. All  
>>> market prices,
>>> data and other information are not warranted as to completeness  
>>> or accuracy and
>>> are subject to change without notice. Any comments or statements  
>>> made herein
>>> do not necessarily reflect those of JPMorgan Chase & Co., its  
>>> subsidiaries
>>> and affiliates.
>>
>


Re: ActiveCluster move to ActiveMQ

by rajdavies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ben,

long time no talk!
We had to move the api back to use javax.jms.Destination to support  
WADI for Apache Geronimo 1.0.  If I remember correctly, you've been  
using SonicMQ that did not support serialization of Destinations.  
We've tried to cater for that by adding the DestinationMarshaller  
interface - that can be an optional argument for creating a cluster.  
The default is to use an ActiveMQDestination, but it should be  
trivial to pass in an implementation that uses Sonic.

Please let us know if this is not the case.

cheers,

Rob

On 28 Feb 2006, at 20:10, ben.kibler@... wrote:

> It appears that new development in ActiveCluster has moved to the  
> ActiveMQ
> project, and there are no new standalone releases of ActiveCluster  
> since
> rel 1.0.
>
> Looking at the ActiveCluster build file in Apache SVN
> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
> activecluster/pom.xml)
>  it appears that ActiveCluster is completely dependent on ActiveMQ  
> as well.
>
> I've been using ActiveCluster for some time now with other JMS
> implementations, and would like to continue doing so.
>
> Is there a version 1.1 or greater distribution of ActiveCluster  
> (including
> Destination serialisation fix, http://jira.activemq.org/jira/browse/ 
> ACL-6)
> available as a standalone JAR file somewhere?  Is there intent to  
> maintain
> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?
>
> Thanks,
> Ben
>
>
>
> This communication is for informational purposes only. It is not  
> intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All  
> market prices,
> data and other information are not warranted as to completeness or  
> accuracy and
> are subject to change without notice. Any comments or statements  
> made herein
> do not necessarily reflect those of JPMorgan Chase & Co., its  
> subsidiaries
> and affiliates.


Re: ActiveCluster move to ActiveMQ

by rajdavies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ActiveCluster is currently using activemq-dev@...

So it's part of the ActiveMQ project in the Apache incubator at the  
moment.

cheers,

Rob

On 28 Feb 2006, at 22:31, Jonathan Duty wrote:

> Ahh, cool.  I wasn't complaining.  Just trying to help Ben get his  
> question answered.  I'm very happy with ActiveCluster and I'm glad  
> to know it is still alive and well.
>
> Just curious, what mailing list?  I don't see an activecluster  
> project in the incubator.
>
> ~Jonathan
>
> On Feb 28, 2006, at 5:26 PM, Rob Davies wrote:
>
>> Hi Jonathan,
>>
>> apologies if we've missed you're questions - but as we've moved to  
>> apache - we've been concentrating on the apache mailing lists - as  
>> we really want the community to grow there.
>>
>> cheers,
>>
>> Rob
>>
>> On 28 Feb 2006, at 20:27, Jonathan Duty wrote:
>>
>>> Ben,
>>> I have been listening of this list for a few months and never  
>>> given a response to any of my questions, and I have seen 0  
>>> activity.  I finally had to go post to the activemq list.  I'm  
>>> guessing if you want a response from the core developers you will  
>>> need to do that also.
>>>
>>> ~Jonathan
>>>
>>> On Feb 28, 2006, at 3:10 PM, ben.kibler@... wrote:
>>>
>>>> It appears that new development in ActiveCluster has moved to  
>>>> the ActiveMQ
>>>> project, and there are no new standalone releases of  
>>>> ActiveCluster since
>>>> rel 1.0.
>>>>
>>>> Looking at the ActiveCluster build file in Apache SVN
>>>> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
>>>> activecluster/pom.xml)
>>>>  it appears that ActiveCluster is completely dependent on  
>>>> ActiveMQ as well.
>>>>
>>>> I've been using ActiveCluster for some time now with other JMS
>>>> implementations, and would like to continue doing so.
>>>>
>>>> Is there a version 1.1 or greater distribution of ActiveCluster  
>>>> (including
>>>> Destination serialisation fix, http://jira.activemq.org/jira/ 
>>>> browse/ACL-6)
>>>> available as a standalone JAR file somewhere?  Is there intent  
>>>> to maintain
>>>> ActiveCluster as a standalone cluster API, not dependent on  
>>>> ActiveMQ?
>>>>
>>>> Thanks,
>>>> Ben
>>>>
>>>>
>>>>
>>>> This communication is for informational purposes only. It is not  
>>>> intended
>>>> as an offer or solicitation for the purchase or sale of any  
>>>> financial
>>>> instrument or as an official confirmation of any transaction.  
>>>> All market prices,
>>>> data and other information are not warranted as to completeness  
>>>> or accuracy and
>>>> are subject to change without notice. Any comments or statements  
>>>> made herein
>>>> do not necessarily reflect those of JPMorgan Chase & Co., its  
>>>> subsidiaries
>>>> and affiliates.
>>>
>>
>


Re: ActiveCluster move to ActiveMQ

by Jonathan Duty :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Great.  Glad to know it is still going on.  You may want to put a  
note on the activecluster website.  The talk around town is that the  
project is dead (since no activity on the website in over a year).

~Jonathan

On Feb 28, 2006, at 5:41 PM, Rob Davies wrote:

> ActiveCluster is currently using activemq-dev@...
>
> So it's part of the ActiveMQ project in the Apache incubator at the  
> moment.
>
> cheers,
>
> Rob
>
> On 28 Feb 2006, at 22:31, Jonathan Duty wrote:
>
>> Ahh, cool.  I wasn't complaining.  Just trying to help Ben get his  
>> question answered.  I'm very happy with ActiveCluster and I'm glad  
>> to know it is still alive and well.
>>
>> Just curious, what mailing list?  I don't see an activecluster  
>> project in the incubator.
>>
>> ~Jonathan
>>
>> On Feb 28, 2006, at 5:26 PM, Rob Davies wrote:
>>
>>> Hi Jonathan,
>>>
>>> apologies if we've missed you're questions - but as we've moved  
>>> to apache - we've been concentrating on the apache mailing lists  
>>> - as we really want the community to grow there.
>>>
>>> cheers,
>>>
>>> Rob
>>>
>>> On 28 Feb 2006, at 20:27, Jonathan Duty wrote:
>>>
>>>> Ben,
>>>> I have been listening of this list for a few months and never  
>>>> given a response to any of my questions, and I have seen 0  
>>>> activity.  I finally had to go post to the activemq list.  I'm  
>>>> guessing if you want a response from the core developers you  
>>>> will need to do that also.
>>>>
>>>> ~Jonathan
>>>>
>>>> On Feb 28, 2006, at 3:10 PM, ben.kibler@... wrote:
>>>>
>>>>> It appears that new development in ActiveCluster has moved to  
>>>>> the ActiveMQ
>>>>> project, and there are no new standalone releases of  
>>>>> ActiveCluster since
>>>>> rel 1.0.
>>>>>
>>>>> Looking at the ActiveCluster build file in Apache SVN
>>>>> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
>>>>> activecluster/pom.xml)
>>>>>  it appears that ActiveCluster is completely dependent on  
>>>>> ActiveMQ as well.
>>>>>
>>>>> I've been using ActiveCluster for some time now with other JMS
>>>>> implementations, and would like to continue doing so.
>>>>>
>>>>> Is there a version 1.1 or greater distribution of ActiveCluster  
>>>>> (including
>>>>> Destination serialisation fix, http://jira.activemq.org/jira/ 
>>>>> browse/ACL-6)
>>>>> available as a standalone JAR file somewhere?  Is there intent  
>>>>> to maintain
>>>>> ActiveCluster as a standalone cluster API, not dependent on  
>>>>> ActiveMQ?
>>>>>
>>>>> Thanks,
>>>>> Ben
>>>>>
>>>>>
>>>>>
>>>>> This communication is for informational purposes only. It is  
>>>>> not intended
>>>>> as an offer or solicitation for the purchase or sale of any  
>>>>> financial
>>>>> instrument or as an official confirmation of any transaction.  
>>>>> All market prices,
>>>>> data and other information are not warranted as to completeness  
>>>>> or accuracy and
>>>>> are subject to change without notice. Any comments or  
>>>>> statements made herein
>>>>> do not necessarily reflect those of JPMorgan Chase & Co., its  
>>>>> subsidiaries
>>>>> and affiliates.
>>>>
>>>
>>
>


Parent Message unknown Re: ActiveCluster move to ActiveMQ

by ben.kibler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Rob,

Thanks for the feedback.  I found an activecluster-4.0-M4 jar file in the
latest ActiveMQ distribution, containing the DestinationMarshaller
interface and default implementation.

It appears it should work without the ActiveMQ jar files.  I'll start
testing tomorrow and let you know how it goes.

Thanks,
Ben




|---------+---------------------------->
|         |           Rob Davies       |
|         |           <rajdavies@gmail.|
|         |           com>             |
|         |                            |
|         |           02/28/2006 05:39 |
|         |           PM               |
|         |           Please respond to|
|         |           user             |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       user@...                                                                              |
  |       cc:                                                                                                                    |
  |       Subject:  Re: [activecluster-user] ActiveCluster move to ActiveMQ                                                      |
  >------------------------------------------------------------------------------------------------------------------------------|




Hi Ben,

long time no talk!
We had to move the api back to use javax.jms.Destination to support
WADI for Apache Geronimo 1.0.  If I remember correctly, you've been
using SonicMQ that did not support serialization of Destinations.
We've tried to cater for that by adding the DestinationMarshaller
interface - that can be an optional argument for creating a cluster.
The default is to use an ActiveMQDestination, but it should be
trivial to pass in an implementation that uses Sonic.

Please let us know if this is not the case.

cheers,

Rob

On 28 Feb 2006, at 20:10, ben.kibler@... wrote:

> It appears that new development in ActiveCluster has moved to the
> ActiveMQ
> project, and there are no new standalone releases of ActiveCluster
> since
> rel 1.0.
>
> Looking at the ActiveCluster build file in Apache SVN
> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/
> activecluster/pom.xml)
>  it appears that ActiveCluster is completely dependent on ActiveMQ
> as well.
>
> I've been using ActiveCluster for some time now with other JMS
> implementations, and would like to continue doing so.
>
> Is there a version 1.1 or greater distribution of ActiveCluster
> (including
> Destination serialisation fix, http://jira.activemq.org/jira/browse/
> ACL-6)
> available as a standalone JAR file somewhere?  Is there intent to
> maintain
> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?
>
> Thanks,
> Ben
>
>
>
> This communication is for informational purposes only. It is not
> intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All
> market prices,
> data and other information are not warranted as to completeness or
> accuracy and
> are subject to change without notice. Any comments or statements
> made herein
> do not necessarily reflect those of JPMorgan Chase & Co., its
> subsidiaries
> and affiliates.






This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

Parent Message unknown Re: ActiveCluster move to ActiveMQ

by ben.kibler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unfortunately, activecluster-4.0-M4 is dependent on activemq-core, so it
can't be used easily with another JMS provider.

The DefaultClusterFactory class depends on
org.apache.activemq.util.IdGenerator.  That seems like a simple dependency
to remove (maybe use Jakarta Commons Id package?).

Not so obvious is an issue where the DestinationMarshaller interface is
required to create a Destination from a String.  Creating a destination for
most JMS vendors requires access to the Session object (e.g.
Session.createTopic(String name)), which is encapsulated in the
DefaultClusterFactory class.  How would I create a destination in my own
marshaller implementation, with no access to the Session object?  The
DefaultDestinationMarshaller implementation creates a new ActiveMQTopic
object, which obviously only works in ActiveMQ....

So, if I tweak the DefaultClusterFactory class, changing the protected
createCluster method to public, then I can easily write my own
DestinationMarshaller, and the code is truly independent of ActiveMQ.

Is anyone else interested in using ActiveCluster with a JMS provider other
than ActiveMQ?  Any plans to make ActiveCluster a top-level Geronimo
project, and not just a subcomponent of ActiveMQ?



IB Technology GCCG - Tel +1-212-622-4653
|---------+---------------------------->
|         |           Ben X Kibler     |
|         |                            |
|         |           02/28/2006 06:15 |
|         |           PM               |
|         |                            |
|---------+---------------------------->
  >-----------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                             |
  |       To:      user@...                                                                              |
  |       cc:                                                                                                                   |
  |       Subject: Re: [activecluster-user] ActiveCluster move to ActiveMQ(Document link: Ben X Kibler)                         |
  >-----------------------------------------------------------------------------------------------------------------------------|



Hi Rob,

Thanks for the feedback.  I found an activecluster-4.0-M4 jar file in the
latest ActiveMQ distribution, containing the DestinationMarshaller
interface and default implementation.

It appears it should work without the ActiveMQ jar files.  I'll start
testing tomorrow and let you know how it goes.

Thanks,
Ben




|---------+---------------------------->
|         |           Rob Davies       |
|         |           <rajdavies@gmail.|
|         |           com>             |
|         |                            |
|         |           02/28/2006 05:39 |
|         |           PM               |
|         |           Please respond to|
|         |           user             |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       user@...                                                                              |
  |       cc:                                                                                                                    |
  |       Subject:  Re: [activecluster-user] ActiveCluster move to ActiveMQ                                                      |
  >------------------------------------------------------------------------------------------------------------------------------|




Hi Ben,

long time no talk!
We had to move the api back to use javax.jms.Destination to support
WADI for Apache Geronimo 1.0.  If I remember correctly, you've been
using SonicMQ that did not support serialization of Destinations.
We've tried to cater for that by adding the DestinationMarshaller
interface - that can be an optional argument for creating a cluster.
The default is to use an ActiveMQDestination, but it should be
trivial to pass in an implementation that uses Sonic.

Please let us know if this is not the case.

cheers,

Rob

On 28 Feb 2006, at 20:10, ben.kibler@... wrote:

> It appears that new development in ActiveCluster has moved to the
> ActiveMQ
> project, and there are no new standalone releases of ActiveCluster
> since
> rel 1.0.
>
> Looking at the ActiveCluster build file in Apache SVN
> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/
> activecluster/pom.xml)
>  it appears that ActiveCluster is completely dependent on ActiveMQ
> as well.
>
> I've been using ActiveCluster for some time now with other JMS
> implementations, and would like to continue doing so.
>
> Is there a version 1.1 or greater distribution of ActiveCluster
> (including
> Destination serialisation fix, http://jira.activemq.org/jira/browse/
> ACL-6)
> available as a standalone JAR file somewhere?  Is there intent to
> maintain
> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?
>
> Thanks,
> Ben
>
>
>
> This communication is for informational purposes only. It is not
> intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All
> market prices,
> data and other information are not warranted as to completeness or
> accuracy and
> are subject to change without notice. Any comments or statements
> made herein
> do not necessarily reflect those of JPMorgan Chase & Co., its
> subsidiaries
> and affiliates.








This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

Re: ActiveCluster move to ActiveMQ

by James.Strachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 28 Feb 2006, at 20:10, ben.kibler@... wrote:

> It appears that new development in ActiveCluster has moved to the  
> ActiveMQ
> project, and there are no new standalone releases of ActiveCluster  
> since
> rel 1.0.
>
> Looking at the ActiveCluster build file in Apache SVN
> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/ 
> activecluster/pom.xml)
>  it appears that ActiveCluster is completely dependent on ActiveMQ  
> as well.
>
> I've been using ActiveCluster for some time now with other JMS
> implementations, and would like to continue doing so.

Great, glad to hear it.

Its purely a gremlin in the M2 POM - there's no hard and fast  
dependency, ActiveMQ is purely used for testing. If I knew how to do  
it, I'd fix the pom.xml. Anyone know how to make a dependency marked  
as for testing only?

FWIW we're only using Maven 1 on ActiveMQ/ActiveCluster/ActiveIO  
right now - we backed off using m2

> Is there intent to maintain
> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?

Yes. Its just given that ActiveMQ/WADI/Geronimo uses it, we felt it  
was easier to move the code to Apache with ActiveMQ

James
-------
http://radio.weblogs.com/0112098/


Re: ActiveCluster move to ActiveMQ

by James.Strachan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1 Mar 2006, at 18:16, ben.kibler@... wrote:
> Unfortunately, activecluster-4.0-M4 is dependent on activemq-core,  
> so it
> can't be used easily with another JMS provider.

Depending on classes inside activemq-core.jar != not working with  
another JMS provider :)


> The DefaultClusterFactory class depends on
> org.apache.activemq.util.IdGenerator.  That seems like a simple  
> dependency
> to remove (maybe use Jakarta Commons Id package?).

Maybe we should just copy that one class across.


> Not so obvious is an issue where the DestinationMarshaller  
> interface is
> required to create a Destination from a String.  Creating a  
> destination for
> most JMS vendors requires access to the Session object (e.g.
> Session.createTopic(String name)), which is encapsulated in the
> DefaultClusterFactory class.  How would I create a destination in  
> my own
> marshaller implementation, with no access to the Session object?  The
> DefaultDestinationMarshaller implementation creates a new  
> ActiveMQTopic
> object, which obviously only works in ActiveMQ....

We could just use a dummy Destination object for now that gets  
serialised?


> So, if I tweak the DefaultClusterFactory class, changing the protected
> createCluster method to public, then I can easily write my own
> DestinationMarshaller, and the code is truly independent of ActiveMQ.
>
> Is anyone else interested in using ActiveCluster with a JMS  
> provider other
> than ActiveMQ?

Sure - supporting any JMS is a good thing.


> Any plans to make ActiveCluster a top-level Geronimo
> project, and not just a subcomponent of ActiveMQ?

We'll see what happens with Geronimo / WADI / ActiveMQ. It might make  
sense as a module in Geronimo or in ActiveMQ. Am not sure if its big  
enough to be a top level project

James
-------
http://radio.weblogs.com/0112098/


Parent Message unknown Re: ActiveCluster move to ActiveMQ

by ben.kibler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,

Thanks for your feedback.  I'll submit a patch for the default
implementation which will work for both ActiveMQ and other JMS
implementations.

> Anyone know how to make a dependency marked
> as for testing only?

Maven 2.0 provides the <scope/> tag, which can be placed inside a
<dependency> element, to indicate the type of dependency.

<scope>test</scope> is used for dependencies only needed for unit tests,
like junit, or in this case ActiveMQ.

<scope>provided</scope> is normally used when writing to a Java spec, in
this case JMS.  So, you can include ActiveMQ or j2ee-jms-spec as a
dependency, but when using Maven to construct your build package, it won't
include the ActiveMQ libraries, and will expect the implementation to
provide a suitable jar file (i.e. Weblogic or some other provider).

For more details see
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

Regards,
Ben



|---------+---------------------------->
|         |           James Strachan   |
|         |           <james.strachan@g|
|         |           mail.com>        |
|         |                            |
|         |           03/01/2006 01:51 |
|         |           PM               |
|         |           Please respond to|
|         |           user             |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       user@...                                                                              |
  |       cc:                                                                                                                    |
  |       Subject:  Re: [activecluster-user] ActiveCluster move to ActiveMQ                                                      |
  >------------------------------------------------------------------------------------------------------------------------------|




On 28 Feb 2006, at 20:10, ben.kibler@... wrote:

> It appears that new development in ActiveCluster has moved to the
> ActiveMQ
> project, and there are no new standalone releases of ActiveCluster
> since
> rel 1.0.
>
> Looking at the ActiveCluster build file in Apache SVN
> (https://svn.apache.org/repos/asf/incubator/activemq/trunk/
> activecluster/pom.xml)
>  it appears that ActiveCluster is completely dependent on ActiveMQ
> as well.
>
> I've been using ActiveCluster for some time now with other JMS
> implementations, and would like to continue doing so.

Great, glad to hear it.

Its purely a gremlin in the M2 POM - there's no hard and fast
dependency, ActiveMQ is purely used for testing. If I knew how to do
it, I'd fix the pom.xml. Anyone know how to make a dependency marked
as for testing only?

FWIW we're only using Maven 1 on ActiveMQ/ActiveCluster/ActiveIO
right now - we backed off using m2

> Is there intent to maintain
> ActiveCluster as a standalone cluster API, not dependent on ActiveMQ?

Yes. Its just given that ActiveMQ/WADI/Geronimo uses it, we felt it
was easier to move the code to Apache with ActiveMQ

James
-------
http://radio.weblogs.com/0112098/






This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

Parent Message unknown Re: ActiveCluster move to ActiveMQ

by ben.kibler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've modified the DestinationMarshaller, DefaultDestinationMarshaller, and
DefaultClusterFactory to use "Session.createTopic(String destinationName)"
instead of "new ActiveMQTopic(String destinationName)".  This will work
with ActiveMQ, SonicMQ, Tibco, and probably most other vendors.

Since DestinationMarshaller.getDestination(String name) is called on every
heartbeat message, and most JMS implementations (ActiveMQ excluded) perform
a remote call to create a new Destination, I've also added a lookup cache
of name->destination mappings in DefaultDestinationMarshaller, and changed
the interface definition to throw a JMSException.

Since Weblogic (and perhaps others) may use JNDI lookups or other mechanism
to do name->Destination mappings, I've modified the DefaultClusterFactory,
making the protected createCluster method that takes a Connection and
Session object to be public.  This way you can create the Connection and
Session objects prior to creating your DestinationMarshaller object.


(See attached file: DestinationMarshaller.java)(See attached file:
DefaultClusterFactory.java)(See attached file:
DefaultDestinationMarshaller.java)

I had to modify the unit tests slightly to throw the new JMSException, and
to provide a Session object to the DefaultDestinationMarshaller
constructor.  Once modified, all the unit tests ran successfully.

Does this sound like a workable solution?  Should I give up on a
cross-vendor implementation, and write my own ClusterFactory and Marshaller
implementations? (in hindsight, it would have been simpler ;-)

Thanks,
Ben




|---------+---------------------------->
|         |           James Strachan   |
|         |           <james.strachan@g|
|         |           mail.com>        |
|         |                            |
|         |           03/01/2006 01:55 |
|         |           PM               |
|         |           Please respond to|
|         |           user             |
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       user@...                                                                              |
  |       cc:       activemq-dev@...                                                                             |
  |       Subject:  Re: [activecluster-user] ActiveCluster move to ActiveMQ                                                      |
  >------------------------------------------------------------------------------------------------------------------------------|




On 1 Mar 2006, at 18:16, ben.kibler@... wrote:
> Unfortunately, activecluster-4.0-M4 is dependent on activemq-core,
> so it
> can't be used easily with another JMS provider.

Depending on classes inside activemq-core.jar != not working with
another JMS provider :)


> The DefaultClusterFactory class depends on
> org.apache.activemq.util.IdGenerator.  That seems like a simple
> dependency
> to remove (maybe use Jakarta Commons Id package?).

Maybe we should just copy that one class across.


> Not so obvious is an issue where the DestinationMarshaller
> interface is
> required to create a Destination from a String.  Creating a
> destination for
> most JMS vendors requires access to the Session object (e.g.
> Session.createTopic(String name)), which is encapsulated in the
> DefaultClusterFactory class.  How would I create a destination in
> my own
> marshaller implementation, with no access to the Session object?  The
> DefaultDestinationMarshaller implementation creates a new
> ActiveMQTopic
> object, which obviously only works in ActiveMQ....
We could just use a dummy Destination object for now that gets
serialised?


> So, if I tweak the DefaultClusterFactory class, changing the protected
> createCluster method to public, then I can easily write my own
> DestinationMarshaller, and the code is truly independent of ActiveMQ.
>
> Is anyone else interested in using ActiveCluster with a JMS
> provider other
> than ActiveMQ?

Sure - supporting any JMS is a good thing.


> Any plans to make ActiveCluster a top-level Geronimo
> project, and not just a subcomponent of ActiveMQ?

We'll see what happens with Geronimo / WADI / ActiveMQ. It might make
sense as a module in Geronimo or in ActiveMQ. Am not sure if its big
enough to be a top level project

James
-------
http://radio.weblogs.com/0112098/




This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries
and affiliates.

Re: ActiveCluster move to ActiveMQ

by rajdavies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Ben,

that's great!  I didn't see the attachments - can you send them again ?

cheers,

Rob

On 1 Mar 2006, at 21:59, ben.kibler@... wrote:

> I've modified the DestinationMarshaller,  
> DefaultDestinationMarshaller, and
> DefaultClusterFactory to use "Session.createTopic(String  
> destinationName)"
> instead of "new ActiveMQTopic(String destinationName)".  This will  
> work
> with ActiveMQ, SonicMQ, Tibco, and probably most other vendors.
>
> Since DestinationMarshaller.getDestination(String name) is called  
> on every
> heartbeat message, and most JMS implementations (ActiveMQ excluded)  
> perform
> a remote call to create a new Destination, I've also added a lookup  
> cache
> of name->destination mappings in DefaultDestinationMarshaller, and  
> changed
> the interface definition to throw a JMSException.
>
> Since Weblogic (and perhaps others) may use JNDI lookups or other  
> mechanism
> to do name->Destination mappings, I've modified the  
> DefaultClusterFactory,
> making the protected createCluster method that takes a Connection and
> Session object to be public.  This way you can create the  
> Connection and
> Session objects prior to creating your DestinationMarshaller object.
>
>
> (See attached file: DestinationMarshaller.java)(See attached file:
> DefaultClusterFactory.java)(See attached file:
> DefaultDestinationMarshaller.java)
>
> I had to modify the unit tests slightly to throw the new  
> JMSException, and
> to provide a Session object to the DefaultDestinationMarshaller
> constructor.  Once modified, all the unit tests ran successfully.
>
> Does this sound like a workable solution?  Should I give up on a
> cross-vendor implementation, and write my own ClusterFactory and  
> Marshaller
> implementations? (in hindsight, it would have been simpler ;-)
>
> Thanks,
> Ben
>
>
>
>
> |---------+---------------------------->
> |         |           James Strachan   |
> |         |           <james.strachan@g|
> |         |           mail.com>        |
> |         |                            |
> |         |           03/01/2006 01:55 |
> |         |           PM               |
> |         |           Please respond to|
> |         |           user             |
> |         |                            |
> |---------+---------------------------->
>> ---------------------------------------------------------------------
>> ---------------------------------------------------------|
>    
> |                                                                      
>                                                          |
>   |       To:        
> user@...                                        
>                                        |
>   |       cc:       activemq-
> dev@...                                                
>                               |
>   |       Subject:  Re: [activecluster-user] ActiveCluster move to  
> ActiveMQ                                                      |
>> ---------------------------------------------------------------------
>> ---------------------------------------------------------|
>
>
>
>
> On 1 Mar 2006, at 18:16, ben.kibler@... wrote:
>> Unfortunately, activecluster-4.0-M4 is dependent on activemq-core,
>> so it
>> can't be used easily with another JMS provider.
>
> Depending on classes inside activemq-core.jar != not working with
> another JMS provider :)
>
>
>> The DefaultClusterFactory class depends on
>> org.apache.activemq.util.IdGenerator.  That seems like a simple
>> dependency
>> to remove (maybe use Jakarta Commons Id package?).
>
> Maybe we should just copy that one class across.
>
>
>> Not so obvious is an issue where the DestinationMarshaller
>> interface is
>> required to create a Destination from a String.  Creating a
>> destination for
>> most JMS vendors requires access to the Session object (e.g.
>> Session.createTopic(String name)), which is encapsulated in the
>> DefaultClusterFactory class.  How would I create a destination in
>> my own
>> marshaller implementation, with no access to the Session object?  The
>> DefaultDestinationMarshaller implementation creates a new
>> ActiveMQTopic
>> object, which obviously only works in ActiveMQ....
>
> We could just use a dummy Destination object for now that gets
> serialised?
>
>
>> So, if I tweak the DefaultClusterFactory class, changing the  
>> protected
>> createCluster method to public, then I can easily write my own
>> DestinationMarshaller, and the code is truly independent of ActiveMQ.
>>
>> Is anyone else interested in using ActiveCluster with a JMS
>> provider other
>> than ActiveMQ?
>
> Sure - supporting any JMS is a good thing.
>
>
>> Any plans to make ActiveCluster a top-level Geronimo
>> project, and not just a subcomponent of ActiveMQ?
>
> We'll see what happens with Geronimo / WADI / ActiveMQ. It might make
> sense as a module in Geronimo or in ActiveMQ. Am not sure if its big
> enough to be a top level project
>
> James
> -------
> http://radio.weblogs.com/0112098/
>
>
>
>
> This communication is for informational purposes only. It is not  
> intended
> as an offer or solicitation for the purchase or sale of any financial
> instrument or as an official confirmation of any transaction. All  
> market prices,
> data and other information are not warranted as to completeness or  
> accuracy and
> are subject to change without notice. Any comments or statements  
> made herein
> do not necessarily reflect those of JPMorgan Chase & Co., its  
> subsidiaries
> and affiliates.