I put space after one of the endpoint on config i don't get error.

On Jun 13, 2:52 pm, ozanyurt <[email protected]> wrote:
> Hi,
>
> In 1.8 I can add diffrent Message for same endpoint. But in 2.0 i get
> an error :
>
> My config is :
> <rhino.esb>
>         <bus
>           threadCount="1"
>           numberOfRetries="100"
>           endpoint="rhino.queues://localhost:54321/Client"
> name="client" />
>
>         <messages>
>           <add name="DomainModel.Entities.PokerHand"
> endpoint="rhino.queues://localhost:8000/Backend" />
>           <add name="DomainModel.Entities.Log"
> endpoint="rhino.queues://localhost:8000/Backend" />
>           <add name="DomainModel.Entities.TournamentSummary"
> endpoint="rhino.queues://localhost:8000/Backend" />
>
>         </messages>
>
>     </rhino.esb>
>
> Error :The entry 'rhino.queues://localhost:8000/Backend' has already
> been added.
>
> Stack trace :
>
>    at
> System.Configuration.ConfigurationElementCollection.BaseAdd(ConfigurationEl 
> ement
> element, Boolean throwIfExists, Boolean ignoreLocks)
>    at
> System.Configuration.ConfigurationElementCollection.BaseAdd(ConfigurationEl 
> ement
> element)
>    at
> Rhino.ServiceBus.Config.MessageOwnerElementCollection.Add(MessageOwnerEleme nt
> messageOwner) in d:\works\ayende\rhino-esb\Rhino.ServiceBus\Config
> \MessageOwnerElementCollection.cs:line 21
>    at Rhino.ServiceBus.Hosting.HostConfiguration.ToBusConfiguration()
> in d:\works\ayende\rhino-esb\Rhino.ServiceBus\Hosting
> \HostConfiguration.cs:line 99
>    at Rhino.ServiceBus.Hosting.DefaultHost.BusConfiguration(Func`2
> configuration) in d:\works\ayende\rhino-esb\Rhino.ServiceBus\Hosting
> \DefaultHost.cs:line 139
>    at Fortuna.Program.Main() in D:\works\fortuna\src\Fortuna
> \Program.cs:line 45
>    at System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
> args)
>    at
> Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
>    at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
>    at System.Threading.ThreadHelper.ThreadStart()

-- 
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