<bean id="managedCamel" class="com.pubSub.example.ManagedCamel" >
<constructor-arg name="routes">
<list>
<ref bean="redisPublisher"/>
</list>
</constructor-arg>
</bean>
<bean id="redisPublisher" class="com.pubSub.example.RedisPublisher" >
<property name="producerName" value="direct:myprocedure"/>
</bean>