RE: JCA Support + Hierarchial Topics
"Tim Anderson" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Cool. There was another post on the geronimo list by
someone interested in integrating OpenJMS - I'll try and
find it and forward it on. (Faster if you collaborate rather
than duplicate effort :)
OpenJMS does support heirarchical topics, although as you've
found, its poorly documented. I'll accept patches :)
You can register hierarchical topics in openjms.xml as follows:
<AdministeredDestinations>
<AdministeredTopic name="parent.child.a"/>
<AdministeredTopic name="parent.child.b"/>
<AdministeredTopic name="parent.child.c"/>
</AdministeredDestinations>
And in your code, construct a wildcarded topic:
Topic topic = session.createTopic("parent.child.**");
A TopicSubscriber using the above will receive messages
published to any of parent.child.a, parent.child.b, or
parent.child.c.
-Tim
> -----Original Message-----
> From: openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> [mailto:openjms-developer-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]On Behalf Of
> Edward Curry
> Sent: Monday, 18 August 2003 9:36 PM
> To: openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [openjms-developer] JCA Support + Hierarchial Topics
>
>
> Hello,
> I would be interested in contributing to OpenJMS. :-) I been
> looking at the Apache Geronimo project and i seems that if OpenJMS
> had some JCA support it would both to play nicely :-). So I'm here
> to give that a stab! Deadlines are a bit crazy at work ATM
> (nothing new) so it will be a few weeks until i get to coding it.
> I would like to take a good look around the OpenJMS code before i
> get into coding anyway.
>
> On another note, does OpenJMS support hierarchal topics for Pub/Sub i have
> had a look around the site and there seems to be no word of it. Any plans
> in the pipe for developing support for it ?
> Regards,
>
> --
> Ed
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072
> 303_01/01
> _______________________________________________
> openjms-developer mailing list
> openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openjms-developer
>