Hello,
I had originally written my CAMEL application using Java DSL. Now I want to
convert to the Spring DSL. I am sure this conversion is obvious (I am new to
Spring), but I haven't found in the documentation or on the web how to
convert body().isInstanceOf(xxx.class) i.e.:
.choice()
.when(body().isInstanceOf(xxx.class))
.process(...).stop()
.when(body().isInstanceOf(yyy.class))
.process(...).stop()
.when(body().isInstanceOf(zzz.class))
.process(...)
.end()
If someone could help me out and tell me how to do this, or point me to the
section in the docs which show how to do this in Spring, it would be a
really big help.
Thanks very much in advance.
regards,
Gareth Collins
--
View this message in context:
http://old.nabble.com/CAMEL-Spring-Equivalent-of-body%28%29.isInstanceOf%28AddEndpointNotificationMessage.class%29-tp28345067p28345067.html
Sent from the Camel - Users mailing list archive at Nabble.com.