Suppose i have following configuration

<beans>
<bean id="dbwriter" class="com.test.WriterComponent" scope="prototype">
             </bean>
                
<camelContext>
                  <route id = "ROUTE1">
                  <from uri="direct:start"/>
                  <to uri="dbwriter:writer"/>

                  <route id = "ROUTE2">
                  <from uri="direct:start"/>
                  <to uri="dbwriter:writer"/>
</camelContext>
<beans>

now since i am having dbwriter's scope as prototype then both the route
should have different object of bean of endpoint or same?




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

Reply via email to