訂閱者春天背景
<bean id="managedCamel" class="com.pubsub.example.ManagedCamel" >
<constructor-arg name="routes">
<list>
<ref bean="redisSubscriber"/>
</list>
</constructor-arg>
</bean>
<bean id="redisSubscriber" class="com.pubSub.example.RedisSubscriber" >
<property name="bean" ref="myBean"/>
<property name="method" value="process"/>
</bean>