You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Ranx <br...@mediadriver.com> on 2016/03/27 18:07:39 UTC

Bean properties/vaargs

I have a bean in my blueprint that looks like this:

<bean class="my.Foo">
...
	<property name="addProvider">
		<bean class="my.exceptionhandlers.InactiveSupplierExceptionHandler" />
	</property>
	<property name="addProvider">
		<bean class="my.exceptionhandlers.InvalidSupplierExceptionHandler" />
	</property>
</bean>

I'd like that to be a bit terser.

	<property name="addProviders">
		<bean class="my.exceptionhandlers.InactiveSupplierExceptionHandler" />
		<bean class="my.exceptionhandlers.InvalidSupplierExceptionHandler" />
	</property>

I'm sure there



--
View this message in context: http://camel.465427.n5.nabble.com/Bean-properties-vaargs-tp5779827.html
Sent from the Camel - Users mailing list archive at Nabble.com.