You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by erd <ev...@gmail.com> on 2015/05/12 20:51:01 UTC

Where am I supposed to place beans?

Hello, 

I'm using Spring to make a route, and I've written a Jackson-annotated
transformation bean with a method which takes a JSON String, uses Jackson to
unmarshal it into a POJO, reorders it, and  marshals it to a re-ordered
String. I get how to define DataFormats, beans and the like, but 1) where do
I put the bean where the compiler will find it, and 2) is the pom.xml
jackson dependency sufficient for the bean to find all of jackson's data
binding/annotation features? Also, are there any additional annotations
necessary to integrate it into my route?

PS:
the bean makes use of java built-ins (File, HashMap, List) and Jackson
(jackson-core, jackson-databind, jackson-annotate).

Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/Where-am-I-supposed-to-place-beans-tp5767024.html
Sent from the Camel - Users mailing list archive at Nabble.com.