I perfectly agree with you solution
Isn't knowing the number of consumers a easy solution ?
Since everyone interested registers himself as a OSGi service(implementing a know interface) ,we should be easily able to collect it using osgi:list
I perfectly agree with you solution
Isn't knowing the number of consumers a easy solution ?
Since everyone interested registers himself as a OSGi service(implementing a know interface) ,we should be easily able to collect it using osgi:list
Definitely doable!!!, although I wouldn't say it is easier solution, you are getting into some of the advanced topics of OSGi and Spring-DM with <osgi:list/> (which is very nice).
Good discussion, and yes with the next releases of SI we are planing to introduce more complex scenarios - such as the one you are describing.
Cheers
Oleg Zhurakousky
Spring Integration team
http://twitter.com/z_oleg
http://blog.springsource.com/author/ozhurakousky/
Really Good Discussion.
Thanks Oleg.