I am working in a Spring integration project and the flow is simple. I get a message from a messagechannel and forward it to my own custom written router. The router based on the message type and some external hashmap value, forwards the message to a transformer though a channel. Everything, the router and transformers are in Java. Now I have to extend my project to be able to call transformers written by non-Java languages like ruby, python, groovy etc. I have seen how non-java code in these languages can be modelled as beans within the Spring context. However, I am not sure how to call non-java transformers in Spring Integration. Any pointers or sample example/code would be very helpful.
Share
Take a look at the
spring-integration-scriptingmodule; for example…and
Documentation is here… http://static.springsource.org/spring-integration/reference/html/messaging-endpoints-chapter.html#scripting