Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9109305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:00:50+00:00 2026-06-17T03:00:50+00:00

I am working in a Spring integration project and the flow is simple. I

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:00:51+00:00Added an answer on June 17, 2026 at 3:00 am

    Take a look at the spring-integration-scripting module; for example…

    <service-activator input-channel="referencedScriptInput">
        <script:script 
                lang="python"
                location="org/springframework/integration/scripting/config/jsr223/Jsr223ServiceActivatorTests.py">
            <script:variable name="foo" value="foo"/>
            <script:variable name="bar" value="bar"/>
            <script:variable name="date" ref="date"/>
        </script:script>
    </service-activator>
    

    and

    <transformer input-channel="referencedScriptInput">
        <script:script
        lang="ruby" 
        location="org/springframework/integration/scripting/config/jsr223/Jsr223TransformerTests.rb"/>
    </transformer>
    

    Documentation is here… http://static.springsource.org/spring-integration/reference/html/messaging-endpoints-chapter.html#scripting

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a spring integration project (1.0.2) and can't get the @Header
I am new in Spring integration and working on a SI project. I am
I'm currently working with MyBatis-Spring integration framework and that's what I read from docs:
I'm working with integration Spring Web Flow into Spring MVC web application. I mapped
I've try to implement integration tests for a working application (spring, hibernate, soap, cxf).
I'm working on a Spring MVC project in which I'm using Hibernate Validator to
I'm working on a Spring 2.0 project, without annotations. We're using several PropertyPlaceholderConfigurer beans
I am working on a Spring Web Project that we are using Subversion, Eclipse
I'm working on proof-of-concept project designed to explore the benefits of offloading work from
For an integration project I am working on, I started looking at java integration

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.