Add InboundEndpointManager
Reported by Ben Hood | 2010-10-28 15:38:09 UTC | in 0.9.3
The Configuration frontend should fire an event to (to be created) InboundEndpointManager for every CRUD operation on an Endpoint. The manager is responsible for firing up non-global non-static endpoints on demand (e.g. per-Participant queues in an AMQP scenario). The factory is responsible for knowing whether an endpoint receiver already exists for any given URL. Here are some design traits for this:
trait InboundEndpointFactory {
def canHandleInboundEndpoint(url:String, contentType:String)
def ensureEndpointReceiver(e:Endpoint)
}
class InboundEndpointManager {
def registerFactory(f:InboundEndpointFactory) = ()
def start {
endpoints.foreach(e => {
factories.filter(f => f.canHandleInboundEndpoint(e.inboundUrl, e.contentType)).foreach(f => f.ensureInboundEndpoint(e))
})
}
}
Note that this is a pre-requisite for #143.
Comments and changes to this ticket
-

Ben Hood 2010-10-29 11:38:21 UTC
- Assigned user set to Paul Jones
-

Ben Hood 2010-10-29 15:38:51 UTC
(from [c76dadd86ab2d7b63ca3751222d3635f0c83c679]) [#145] Support registration and startup of inbound change receivers http://github.com/lshift/diffa/commit/c76dadd86ab2d7b63ca3751222d36...
-

Ben Hood 2010-10-29 15:38:52 UTC
(from [f630bb76d4b599ffd32cb6e5522858ad6135924d]) [#145] Basic test cases for the InboundEndpointManager. http://github.com/lshift/diffa/commit/f630bb76d4b599ffd32cb6e552285...
-

Paul Jones 2010-10-29 15:42:21 UTC
- State changed from new to resolved
- Assigned user changed from Paul Jones to Ben Hood
-

-

Ben Hood 2010-11-17 14:37:50 UTC
- State changed from resolved to closed
-

Ben Hood 2011-02-04 14:48:32 UTC
- Milestone set to 0.9.3
- Milestone order changed from 11 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.
People watching this ticket
Referenced by
-
140
Support custom serialization in the agent
The latest patches address the QA remarks from above. For...
-
145
Add InboundEndpointManager
(from [c76dadd86ab2d7b63ca3751222d3635f0c83c679])
[#145] ...
-
145
Add InboundEndpointManager
(from [f630bb76d4b599ffd32cb6e5522858ad6135924d])
[#145] ...
-
146
Implement log verification
We need a mechanism that verifies the invocation of certa...
-
145
Add InboundEndpointManager
(from [248eee7e04f6ebe70ca0ef920752c3efdbbb57e5])
Merged ...