Hi,
I have a generic bean handler(extend DefaultHandler), this bean need a param
to work correctly such as
the nodeRoot, nodeItem etc..
I want use this bean with camel-stax but i think is not possible :
<route>
<from uri="file:/tmp/inbox"/>
<to uri="stax:orderHandler" />
</route>
<bean id="orderHandler" class="com.timactive.article.ArticleHandlerMapper">
<property name="nodeRoot" value="ORDERS"></property>
<property name="nodeItem" value="ORDER"></property>
</bean>
In the documentation of camel-stax http://camel.apache.org/stax.html, the
exemple propose just to pass a class handler, not a bean?
how would someone do this kind of process?
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-stax-use-a-custom-bean-handler-not-a-class-tp5732395.html
Sent from the Camel - Users mailing list archive at Nabble.com.