Add InboundEndpointManager
Reported by Ben Hood | October 28th, 2010 @ 03:38 PM | 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 October 29th, 2010 @ 11:38 AM
- Assigned user set to Paul Jones
-

Ben Hood October 29th, 2010 @ 03:38 PM
(from [c76dadd86ab2d7b63ca3751222d3635f0c83c679]) [#145] Support registration and startup of inbound change receivers http://github.com/lshift/diffa/commit/c76dadd86ab2d7b63ca3751222d36...
-

Ben Hood October 29th, 2010 @ 03:38 PM
(from [f630bb76d4b599ffd32cb6e5522858ad6135924d]) [#145] Basic test cases for the InboundEndpointManager. http://github.com/lshift/diffa/commit/f630bb76d4b599ffd32cb6e552285...
-

Paul Jones October 29th, 2010 @ 03:42 PM
- State changed from new to resolved
- Assigned user changed from Paul Jones to Ben Hood
-

-

Ben Hood November 17th, 2010 @ 02:37 PM
- State changed from resolved to closed
-

Ben Hood February 4th, 2011 @ 02:48 PM
- 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 ...