It would be very handy if a camelProxy bean (which is also a spring bean) could be defined as primary (see http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/htmlsingle/spring-framework-reference.html, search for @Primary).
I have a content based route, which delegates to some other beans depending on argument values to the proxy. All three beans implement the same interface. So if I could just mark the proxy as primary that bean would be preferred.
Other usecases where you would like it not to be primary probably exist as well.
I suggest adding an optional boolean attribute "primary" which is by default true.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|1412d 5h 52m||1||Claus Ibsen||11/Jul/15 21:49|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||Claus Ibsen [ davsclaus ]|
|Resolution||Won't Fix [ 2 ]|
|Field||Original Value||New Value|
|Issue Type||Improvement [ 4 ]||New Feature [ 2 ]|
|Fix Version/s||Future [ 12315692 ]|
|Priority||Major [ 3 ]||Minor [ 4 ]|