commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: Messenger and avalon
Date Mon, 25 Feb 2002 23:51:33 GMT
Incidentally, there's a Servlet to initialise Messenger from an explicit
Messenger.xml file from some URL in
org.apache.commons.messenger.InitMessengerServlet. It might be that in
Avalon/Phoenix doing something similar might help? Here's the main code from
the servlet...

String config = ...;
URL url = getServletContext().getResource( config );
MessengerManager.configure( url.toString() );

Also if singletons are an issue in Avalon/Phonix you can create different
MessengerManager instances via the static load() helper method.

James
----- Original Message -----
From: "Simon Reynolds" <simon_inhk@hotmail.com>
To: <commons-dev@jakarta.apache.org>
Sent: Sunday, February 24, 2002 3:10 PM
Subject: Messenger and avalon


>
> Hello,
>
> Is Messenger working with Avalon/Phoenix??
>
> I can run the test examples that come with Messenger but when I try and
add
> a queue producer to an Avalon server it appears to hang when executing the
> MessengerManager.get() call. I have included the Messenger.xml file in the
> top of the tree in the jar file deployed in the phoenix server.
>
> Thanks
>
> Simon
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message