geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: classloaders for non-JMS MDBs
Date Sat, 30 Sep 2006 17:16:58 GMT

On Sep 30, 2006, at 8:27 AM, Nathan Mittler wrote:

> Hi,
> Has anyone created custom connectors with G?
>
> I have a two versions of a simple MDB - one that implements  
> javax.jms.MessageListener and one that implements a custom  
> interface.  When onMessage is invoked by the AMQ RAR, I appear to  
> be in the context of the MDB's classloader and can use dependencies  
> specified in the MDB's deployment plan.  However, when I invoke the  
> MDB from a custom connector, it seems to be in the context of the  
> RAR classloader and I don't have access to any of the MDB's  
> dependencies.  I assume that I'm doing something bone-headed in my  
> connector, but I'm not seeing it.  Any ideas?

It oughtta work :-).  I don't think it's your connector.  Would it be  
difficult to get stack traces from the mdbs to see if the paths to  
get to the mdb are different?

thanks
david jencks

>
> Thanks for the help,
> Nate


Mime
View raw message