activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gomes" <e.se...@gmail.com>
Subject Re: Patch for NMS ConnectionFactory problem with ASP.NET
Date Wed, 19 Nov 2008 16:34:23 GMT
Scratch that last message.  I was able to retrieve the patch by going to the
Nabble website.  I couldn't link to it from the e-mail message.  I'll add it
in later today.

- Jim

On Wed, Nov 19, 2008 at 8:24 AM, Jim Gomes <e.semog@gmail.com> wrote:

> Yeah, I'm not able to access it either.  I am getting a 410 error: file has
> been deleted.  Adding it to a JIRA issue would be great.
>
>
> On Wed, Nov 19, 2008 at 7:24 AM, Hiram Chirino <hiram@hiramchirino.com>wrote:
>
>> Hi Dan,
>>
>> Looks like the URL to the patch in your emails is not loading up for
>> me.  Perhaps you should just attach it to a JIRA issue at:
>> http://issues.apache.org/activemq/browse/AMQNET
>>
>> Regards,
>> Hiram
>>
>> On Tue, Nov 18, 2008 at 11:30 AM, Daniel Ellis <mail@danellis.co.uk>
>> wrote:
>> >
>> > Hello,
>> >
>> > Good to see the NMS trunk is back up to speed and passing the unit
>> tests.
>> > This morning I had a problem getting the connection factory to work
>> within
>> > ASP.NET and believe it may not be possible with the current
>> implementation.
>> >
>> > Currently the function 'LookupConnectionFactoryInfo' obtains the path to
>> the
>> > nmsprovider.config file by looking in the directory of the currently
>> > executing assembly.  However ASP.NET does not run the assembly where
>> the DLL
>> > is located.  Instead the DLL is copied to a path deep within the
>> ASP.NET
>> > temporary files folder.
>> >
>> > The attached patch now checks three folders:-
>> >
>> > * Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
>> > * AppDomain.CurrentDomain.BaseDirectory;
>> > * AppDomain.CurrentDomain.RelativeSearchPath;
>> >
>> > I have tested this and it now works with both a service and an asp.net
>> > webapp.  I have done my best not to break the compact framework build,
>> but
>> > have not managed to build that yet.  Is this a suitable implementation?
>> >
>> > http://www.nabble.com/file/p20563084/NMSConnectionFactory-aspnet.patch
>> > NMSConnectionFactory-aspnet.patch
>> >
>> > Regards,
>> > Dan
>> > --
>> > View this message in context:
>> http://www.nabble.com/Patch-for-NMS-ConnectionFactory-problem-with-ASP.NET-tp20563084p20563084.html
>> > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>> >
>> >
>>
>>
>>
>> --
>> Regards,
>> Hiram
>>
>> Blog: http://hiramchirino.com
>>
>> Open Source SOA
>> http://open.iona.com
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message