--- Timothy Bennett <[EMAIL PROTECTED]> wrote:I actually needed
two instances of EventManager to handle the pub/sub of both types of events
among a set blocks in my server application. In other words, I might have a
block that needs to subscribe to events coming from some external
application, but needs to publish events destined to some external
application. Two different Event Managers handle this.
Shouldn't a ServiceSelector be able to handle this situation? Perhaps I
misunderstand but if there are two EventManagers, then there's really just one
role and two instances/implementations of that role. At least, this concept
exists in Fortress. My Phoenix knowledge is still somewhat limited.
Phoenix doesn't support the Selector. Timothy's approach is the correct one for a Phoenix environment.
-pete
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
