Hi,
I've recently upgraded some code from an versions of the subject libraries
and now I'm having problems with previously working code throwing a
System.ArgumentException "An item with the same key has already been added"
when I have two or more components requiring an ISession to be resolved for
a message handler.
I'm using a MessageModule implementation to handle sessions, creating a
session on the messagearrived event and disposing of it on
MessageProcessingCompleted.
i.e.
//c'tor
public NHibernateMessageModule(ISessionFactory sessionFactory)
{
_sessionFactory = sessionFactory;
}
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/castle-project-users/-/LFNSFE9XbAgJ.
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/castle-project-users?hl=en.