Hello everyone, Thank you for this precious project.
I'm trying to migrate traditional JMS processing to camel.
I need to read from JMS topic and unmarshal to JAXB object. and then route
according to an Enum value in that object.
(e.g unmarshal XML to Student object and route by student.getGrade())
I also like it if it will be possible to unmarshal only once.
I tried starting with something like
from("TOPIC").convertBodyTo(Student.class).choice()
but I can't figure out how to make the ChoiceDefinition "know" my Student
object
What should I look for?

John.

-- 
View this message in context: 
http://www.nabble.com/Newbie%3A-how-to-unmarshal-and-then-route-using-object-member-value--tp23549158p23549158.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to