Re: [Mono-dev] Custom messaging provider doesn't seem to work

2015-01-28 Thread Atsushi Eno
Not really; changes that make it to load other assemblies are also good 
(but _if_ that's too much, then it'd be still okay to hard code others).


Atsushi Eno

On 2015年01月28日 08:51, Philip Garrett wrote:
On Jan 27, 2015, at 3:22 AM, Atsushi Eno 
atsushi...@veritas-vos-liberabit.com 
mailto:atsushi...@veritas-vos-liberabit.com wrote:


Hard-coded, run-time resolution to assemblies that don't exist in 
mono itself would be fine


Are you saying that _only_ hard-coded resolution is acceptable? My 
intent was to allow the user to specify any type that can be resolved 
using an assembly-qualified name (via Type.GetType(string)).


- Philip


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Custom messaging provider doesn't seem to work

2015-01-27 Thread Atsushi Eno

Hi,
It is not intended to limit to rabbitmq. Patches are welcome to make it 
to work with other providers :-) It just shouldn't be too extensive to 
add another MQ binding or implementation in mono repo either as sources 
or submodule. Hard-coded, run-time resolution to assemblies that don't 
exist in mono itself would be fine (as long as it works, when those 
assemblies can be resolved).


Thanks,
Atsushi Eno

On 2015年01月25日 06:40, Philip Garrett wrote:

Mono.Messaging allows you to specify a custom messaging provider in the 
MONO_MESSAGING_PROVIDER appsetting. But it appears only to work with the 
RabbitMQ provider that’s packaged with Mono. Any value other than the 
pre-approved provider class name (or its alias) makes MessagingProviderLocator 
throw an exception in the static constructor. (1)

Is this intentional or is it a bug/missing feature? Would a patch to allow any 
custom IMessagingProvider be welcomed?

Thanks,
Philip

(1) 
https://github.com/mono/mono/blob/effa4c07ba850bedbe1ff54b2a5df281c058ebcb/mcs/class/Mono.Messaging/Mono.Messaging/MessagingProviderLocator.cs#L90
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Custom messaging provider doesn't seem to work

2015-01-27 Thread Philip Garrett
On Jan 27, 2015, at 3:22 AM, Atsushi Eno atsushi...@veritas-vos-liberabit.com 
wrote:
 
  Hard-coded, run-time resolution to assemblies that don't exist in mono 
 itself would be fine


Are you saying that _only_ hard-coded resolution is acceptable? My intent was 
to allow the user to specify any type that can be resolved using an 
assembly-qualified name (via Type.GetType(string)).

- Philip___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Custom messaging provider doesn't seem to work

2015-01-24 Thread Philip Garrett
Mono.Messaging allows you to specify a custom messaging provider in the 
MONO_MESSAGING_PROVIDER appsetting. But it appears only to work with the 
RabbitMQ provider that’s packaged with Mono. Any value other than the 
pre-approved provider class name (or its alias) makes MessagingProviderLocator 
throw an exception in the static constructor. (1)

Is this intentional or is it a bug/missing feature? Would a patch to allow any 
custom IMessagingProvider be welcomed?

Thanks,
Philip

(1) 
https://github.com/mono/mono/blob/effa4c07ba850bedbe1ff54b2a5df281c058ebcb/mcs/class/Mono.Messaging/Mono.Messaging/MessagingProviderLocator.cs#L90
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list