I am able to reproduce this locally, but ran out of time today. I'll keep
digging in next week.

On Fri, Sep 7, 2012 at 3:29 PM, ozanyurt <[email protected]> wrote:

> By the way when I change to my bootstrapper structuremap to castle windsor
> it's running. I think structuremap configuration problem exist.
>
> Anybody use logging machanism. How can I implement for rq log message(like
> consumer?)
>
> Thanks
>
>
> On Friday, September 7, 2012 10:23:03 AM UTC+3, ozanyurt wrote:
>>
>> I want to use logging feature with RQ. I saw the tests and try it. But
>> when I try to set my host config with logging feature structure map give me
>> an error. My config is
>>
>>  host.BusConfiguration(c => 
>> c.Bus("rhino.queues://**localhost:55555/**VisualTesterQueue",
>> "VisualTester")
>>                                                
>> .Receive("DomainModel.**Entities.SomeEntity",
>> backend).Retries(1).Logging("**rhino.queues://localhost:2022/**
>> log_endpoint")
>>                     );
>>
>>
>> StructureMap.**StructureMapException: StructureMap Exception Code:  207
>> Internal exception while creating Instance 
>> '9590adce-9dad-4183-8ee7-**20a21a8b46ac'
>> of PluginType Rhino.ServiceBus.Internal.**IStartable, Rhino.ServiceBus,
>> Version=2.3.4.0, Culture=neutral, PublicKeyToken=**0b3305902db7183f.
>>  Check the inner exception for more details. ---> 
>> StructureMap.**StructureMapException:
>> StructureMap Exception Code:  202
>> No Default Instance defined for PluginFamily System.Uri, System,
>> Version=2.0.0.0, Culture=neutral, PublicKeyToken=**b77a5c561934e089
>>    at StructureMap.BuildSession.<.**ctor>b__0(Type t)
>>    at StructureMap.Util.Cache`2.get_**Item(KEY key)
>>    at StructureMap.BuildSession.**CreateInstance(Type pluginType)
>>    at StructureMap.Pipeline.**DefaultInstance.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.createRawObject(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.Build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**ConstructorInstance.Get(String
>> propertyName, Type pluginType, BuildSession session)
>>    at StructureMap.Pipeline.**ConstructorInstance.Get[T](**String
>> propertyName, BuildSession session)
>>    at StructureMap.Pipeline.**Arguments.Get[T](String propertyName)
>>    at lambda_method(ExecutionScope , IArguments )
>>    at StructureMap.Construction.**BuilderCompiler.FuncCompiler`**
>> 1.<>c__DisplayClass2.<**CreateBuilder>b__0(IArguments args)
>>    at StructureMap.Construction.**InstanceBuilder.BuildInstance(**IArguments
>> args)
>>    at StructureMap.Pipeline.**ConstructorInstance.Build(Type pluginType,
>> BuildSession session, IInstanceBuilder builder)
>>    at StructureMap.Pipeline.**ConstructorInstance.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.createRawObject(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.Build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**ObjectBuilder.ConstructNew(**Type
>> pluginType, Instance instance, BuildSession session)
>>    at StructureMap.Pipeline.**ObjectBuilder.Resolve(Type pluginType,
>> Instance instance, BuildSession session)
>>    at StructureMap.BuildSession.**CreateInstance(Type pluginType,
>> Instance instance)
>>    at 
>> StructureMap.BuildSession.<>c_**_DisplayClassa.<**GetAllInstances>b__9(Instance
>> x)
>>    at 
>> System.Linq.Enumerable.<>c__**DisplayClass12`3.<**CombineSelectors>b__11(TSource
>> x)
>>    at System.Linq.Enumerable.**WhereSelectArrayIterator`2.**MoveNext()
>>    at System.Linq.Buffer`1..ctor(**IEnumerable`1 source)
>>    at System.Linq.Enumerable.**ToArray[TSource](IEnumerable`1 source)
>>    at StructureMap.Pipeline.**ArrayCoercion`1.Convert(**IEnumerable`1
>> enumerable)
>>    at StructureMap.Pipeline.**EnumerableInstance.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.createRawObject(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.Build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**DefaultInstance.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.createRawObject(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.Build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**ConstructorInstance.Get(String
>> propertyName, Type pluginType, BuildSession session)
>>    at StructureMap.Pipeline.**ConstructorInstance.Get[T](**String
>> propertyName, BuildSession session)
>>    at StructureMap.Pipeline.**Arguments.Get[T](String propertyName)
>>    at lambda_method(ExecutionScope , IArguments )
>>    at StructureMap.Construction.**BuilderCompiler.FuncCompiler`**
>> 1.<>c__DisplayClass2.<**CreateBuilder>b__0(IArguments args)
>>    at StructureMap.Construction.**InstanceBuilder.BuildInstance(**IArguments
>> args)
>>    at StructureMap.Pipeline.**ConstructorInstance.Build(Type pluginType,
>> BuildSession session, IInstanceBuilder builder)
>>    at StructureMap.Pipeline.**ConstructorInstance.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**SmartInstance`1.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.createRawObject(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.Build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**ObjectBuilder.ConstructNew(**Type
>> pluginType, Instance instance, BuildSession session)
>>    at StructureMap.Pipeline.**ObjectBuilder.Resolve(Type pluginType,
>> Instance instance, BuildSession session)
>>    at StructureMap.BuildSession.**CreateInstance(Type pluginType,
>> Instance instance)
>>    at StructureMap.BuildSession.<>c_**_DisplayClass3.<.ctor>b__1()
>>    at StructureMap.BuildSession.**CreateInstance(Type pluginType)
>>    at StructureMap.BuildSession.**GetInstance[T]()
>>    at 
>> StructureMap.Configuration.**DSL.Registry.<Forward>b__1e[**FROM,TO](IContext
>> c)
>>    at StructureMap.Pipeline.**LambdaInstance`1.build(Type pluginType,
>> BuildSession session)
>>    --- End of inner exception stack trace ---
>>    at StructureMap.Pipeline.**LambdaInstance`1.build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.createRawObject(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**Instance.Build(Type pluginType,
>> BuildSession session)
>>    at StructureMap.Pipeline.**ObjectBuilder.ConstructNew(**Type
>> pluginType, Instance instance, BuildSession session)
>>    at StructureMap.Pipeline.**ObjectBuilder.Resolve(Type pluginType,
>> Instance instance, BuildSession session)
>>    at StructureMap.BuildSession.**CreateInstance(Type pluginType,
>> Instance instance)
>>    at StructureMap.BuildSession.<>c_**_DisplayClass3.<.ctor>b__1()
>>    at StructureMap.BuildSession.**CreateInstance(Type pluginType)
>>    at StructureMap.Container.**GetInstance(Type pluginType)
>>    at StructureMap.Container.**GetInstance[T]()
>>    at 
>> Rhino.ServiceBus.StructureMap.**StructureMapBootStrapper.**GetInstance[T]()
>> in d:\works\ayende\rhino-esb-**latest\rhino-esb\Rhino.**
>> ServiceBus.StructureMap\**StructureMapBootStrapper.cs:**line 78
>>    at Rhino.ServiceBus.Hosting.**DefaultHost.InitailizeBus(**String
>> asmName) in d:\works\ayende\rhino-esb-**latest\rhino-esb\Rhino.**
>> ServiceBus\Hosting\**DefaultHost.cs:line 57
>>    at Rhino.ServiceBus.Hosting.**DefaultHost.Start(String asmName) in
>> d:\works\ayende\rhino-esb-**latest\rhino-esb\Rhino.**ServiceBus\Hosting\*
>> *DefaultHost.cs:line 41
>>    at Rhino.ServiceBus.Hosting.**DefaultHost.Start[**TBootStrapper]() in
>> d:\works\ayende\rhino-esb-**latest\rhino-esb\Rhino.**ServiceBus\Hosting\*
>> *DefaultHost.cs:line 35
>>    at VisualTester.MainWindow..ctor(**) in d:\works\..\src\VisualTester\*
>> *MainWindow.xaml.cs:line 75
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rhino-tools-dev/-/g6v-0N5InKkJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to